realtimenetprots/sipfw/SIP/Codec/src/SIPSyntaxCheck.h
changeset 34 3c8db403127f
parent 0 307788aac0a8
equal deleted inserted replaced
27:740ceea8e153 34:3c8db403127f
    29 
    29 
    30 #ifndef SIPSYNTAXCHECK_H
    30 #ifndef SIPSYNTAXCHECK_H
    31 #define SIPSYNTAXCHECK_H
    31 #define SIPSYNTAXCHECK_H
    32 
    32 
    33 #include "siphostport.h"
    33 #include "siphostport.h"
       
    34 #include "TSIPChar.h"
    34 #include <e32std.h>
    35 #include <e32std.h>
    35 
    36 
    36 
    37 
    37 // Parsing utilities class
    38 // Parsing utilities class
    38 class SIPSyntaxCheck
    39 class SIPSyntaxCheck
    39 	{
    40 	{
    40 public:
    41 public:
    41 
    42 
    42 	static TBool Token (const TDesC8& aValue);
    43 	static TBool Token (const TDesC8& aValue , RArray<TSIPChar>* aArray = NULL );
    43 	static TBool AlphaMaxSize8 (const TDesC8& aValue);
    44 	static TBool AlphaMaxSize8 (const TDesC8& aValue);
    44 	static TBool Host (const TDesC8& aValue);
    45 	static TBool Host (const TDesC8& aValue);
    45 	static TBool Word (const TDesC8& aValue);
    46 	static TBool Word (const TDesC8& aValue);
    46 	static TBool User (const TDesC8& aUser);
    47 	static TBool User (const TDesC8& aUser);
    47 	static TBool Password (const TDesC8& aPassword);
    48 	static TBool Password (const TDesC8& aPassword);