Ignore:
Timestamp:
Nov 17, 2017 4:07:43 AM (2 years ago)
Author:
ming
Message:

Re #2063: Add more doc in other parts of the library

File:
1 edited

Legend:

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

    r5693 r5697  
    280280 * Check incoming packet to see if a (probably) valid SIP message has been  
    281281 * received. 
    282  * Note that the input string buffer MUST be NULL terminated. 
     282 * Note that the input string buffer MUST be NULL terminated and have 
     283 * length at least size+1 (size MUST NOT include the NULL terminator). 
    283284 * 
    284285 * @param buf           The input buffer, which must be NULL terminated. 
    285  * @param size          The buffer size. 
     286 * @param size          The length of the string (not counting NULL terminator). 
    286287 * @param is_datagram   Put non-zero if transport is datagram oriented. 
    287288 * @param msg_size      [out] If message is valid, this parameter will contain 
Note: See TracChangeset for help on using the changeset viewer.