Changeset 3243 for pjproject/trunk/pjsip/include/pjsip/sip_parser.h
- Timestamp:
- Aug 1, 2010 9:48:51 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_parser.h
r2660 r3243 277 277 * pinpoint the location of the error in the buffer. 278 278 * 279 * @return The instance of the header if parsing was successful l,279 * @return The instance of the header if parsing was successful, 280 280 * or otherwise a NULL pointer will be returned. 281 281 */ … … 288 288 * When there are multiple headers, the headers MUST be separated by either 289 289 * a newline (as in SIP message) or ampersand mark (as in URI). This separator 290 * howeveris optional for the last header.291 * 292 * @param pool the pool.293 * @param input the input text to parse, which must be NULL terminated.294 * @param size the text length.295 * @param hlist the header list to store the parsed headers.290 * is optional for the last header. 291 * 292 * @param pool The pool. 293 * @param input The input text to parse, which must be NULL terminated. 294 * @param size The text length. 295 * @param hlist The header list to store the parsed headers. 296 296 * This list must have been initialized before calling 297 297 * this function. 298 * @param options Specify 1 here to make parsing stop when error is 299 * encountered when parsing the header. Otherwise the 300 * error is silently ignored and parsing resumes to the 301 * next line. 298 302 * @return zero if successfull, or -1 if error is encountered. 299 303 * Upon error, the \a hlist argument MAY contain 300 304 * successfully parsed headers. 301 305 */ 302 PJ_DECL(pj_status_t) pjsip_parse_headers( pj_pool_t *pool, 303 char *input, pj_size_t size,304 pj_list *hlist);306 PJ_DECL(pj_status_t) pjsip_parse_headers( pj_pool_t *pool, char *input, 307 pj_size_t size, pjsip_hdr *hlist, 308 unsigned options); 305 309 306 310
Note: See TracChangeset
for help on using the changeset viewer.