Ignore:
Timestamp:
May 16, 2007 1:41:00 PM (17 years ago)
Author:
bennylp
Message:

Fixed ticet #277: GUID generation cannot generate more than 216 unique numbers (thanks Igor Sobinov)

File:
1 edited

Legend:

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

    r974 r1282  
    4949 * PJ_GUID_STRING_LENGTH specifies length of GUID string. The value is 
    5050 * dependent on the algorithm used internally to generate the GUID string. 
    51  * If real GUID generator is used, then the length will be 128bit or  
    52  * 32 bytes. If shadow GUID generator is used, then the length 
     51 * If real GUID generator is used, then the length will be between 32 and 
     52 * 36 bytes. If shadow GUID generator is used, then the length 
    5353 * will be 20 bytes. Application should not assume which algorithm will 
    5454 * be used by GUID generator. 
     55 * 
     56 * Regardless of the actual length of the GUID, it will not exceed 
     57 * PJ_GUID_MAX_LENGTH characters. 
    5558 */ 
    5659extern const unsigned PJ_GUID_STRING_LENGTH; 
     
    6063 * regardless of which algorithm to use. 
    6164 */ 
    62 #define PJ_GUID_MAX_LENGTH  32 
     65#define PJ_GUID_MAX_LENGTH  36 
    6366 
    6467/** 
Note: See TracChangeset for help on using the changeset viewer.