Ignore:
Timestamp:
Nov 22, 2005 11:51:50 PM (18 years ago)
Author:
bennylp
Message:

More optimizations for msg parser etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/string.h

    r72 r77  
    343343 * Perform lowercase comparison to the strings which consists of only 
    344344 * alnum characters. More over, it will only return non-zero if both 
    345  * strings are not equal, and is not able to detect which string is 
    346  * 'less'. 
     345 * strings are not equal, not the usual negative or positive value. 
    347346 * 
    348347 * If non-alnum inputs are given, then the function may mistakenly  
    349  * treat two strings as equal while they're not. 
     348 * treat two strings as equal. 
     349 * 
     350 * @param str1      The string to compare. 
     351 * @param str2      The string to compare. 
     352 * @param len       The length to compare. 
     353 * 
     354 * @return  
     355 *      - 0         if str1 is equal to str2 
     356 *      - (-1)      if not equal. 
     357 */ 
     358PJ_IDECL(int) strnicmp_alnum(const char *str1, const char *str2, 
     359                             int len); 
     360 
     361/** 
     362 * Perform lowercase comparison to the strings which consists of only 
     363 * alnum characters. More over, it will only return non-zero if both 
     364 * strings are not equal, not the usual negative or positive value. 
     365 * 
     366 * If non-alnum inputs are given, then the function may mistakenly  
     367 * treat two strings as equal. 
    350368 * 
    351369 * @param str1      The string to compare. 
Note: See TracChangeset for help on using the changeset viewer.