Ignore:
Timestamp:
Jul 3, 2006 10:08:47 PM (17 years ago)
Author:
bennylp
Message:

Various performance improvements in PJSIP: (1) optimizing for common case to minimize stricmp() calls (header names, method, URI schemes), (2) added functionality in scanner to parse and unescape in-place, (3) etc..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_parser.h

    r515 r583  
    316316    pjsip_PARAM_CHAR_SPEC,      /**< For scanning pname (or pvalue when it's  
    317317                                     not quoted.) */ 
     318    pjsip_PARAM_CHAR_SPEC_ESC,  /**< Variant without the escape ('%') char */ 
    318319    pjsip_HDR_CHAR_SPEC,        /**< Chars in hname/havalue in URL. */ 
     320    pjsip_HDR_CHAR_SPEC_ESC,    /**< Variant without the escape ('%') char */ 
    319321    pjsip_PROBE_USER_HOST_SPEC, /**< Hostname characters. */ 
    320322    pjsip_PASSWD_SPEC,          /**< Password. */ 
     323    pjsip_PASSWD_SPEC_ESC,      /**< Variant without the escape ('%') char */ 
    321324    pjsip_USER_SPEC,            /**< User */ 
     325    pjsip_USER_SPEC_ESC,        /**< Variant without the escape ('%') char */ 
    322326    pjsip_NOT_NEWLINE,          /**< For eating up header, basicly any chars 
    323327                                     except newlines or zero. */ 
Note: See TracChangeset for help on using the changeset viewer.