Changeset 3337 for pjproject/trunk/pjsip/include/pjsip-simple/presence.h
- Timestamp:
- Oct 12, 2010 11:35:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip-simple/presence.h
r2762 r3337 329 329 * 330 330 * @return PJ_SUCCESS on success. 331 * 332 * @see pjsip_pres_parse_pidf2() 331 333 */ 332 334 PJ_DECL(pj_status_t) pjsip_pres_parse_pidf(pjsip_rx_data *rdata, … … 334 336 pjsip_pres_status *status); 335 337 338 /** 339 * This is a utility function to parse PIDF body into PJSIP presence status. 340 * 341 * @param body Text body, with one extra space at the end to place 342 * NULL character temporarily during parsing. 343 * @param body_len Length of the body, not including the NULL termination 344 * character. 345 * @param pool Pool to allocate memory to copy the strings into 346 * the presence status structure. 347 * @param status The presence status to be initialized. 348 * 349 * @return PJ_SUCCESS on success. 350 * 351 * @see pjsip_pres_parse_pidf() 352 */ 353 PJ_DECL(pj_status_t) pjsip_pres_parse_pidf2(char *body, unsigned body_len, 354 pj_pool_t *pool, 355 pjsip_pres_status *status); 336 356 337 357 … … 345 365 * 346 366 * @return PJ_SUCCESS on success. 367 * 368 * @see pjsip_pres_parse_xpidf2() 347 369 */ 348 370 PJ_DECL(pj_status_t) pjsip_pres_parse_xpidf(pjsip_rx_data *rdata, … … 351 373 352 374 375 /** 376 * This is a utility function to parse X-PIDF body into PJSIP presence status. 377 * 378 * @param body Text body, with one extra space at the end to place 379 * NULL character temporarily during parsing. 380 * @param body_len Length of the body, not including the NULL termination 381 * character. 382 * @param pool Pool to allocate memory to copy the strings into 383 * the presence status structure. 384 * @param status The presence status to be initialized. 385 * 386 * @return PJ_SUCCESS on success. 387 * 388 * @see pjsip_pres_parse_xpidf() 389 */ 390 PJ_DECL(pj_status_t) pjsip_pres_parse_xpidf2(char *body, unsigned body_len, 391 pj_pool_t *pool, 392 pjsip_pres_status *status); 393 394 353 395 354 396 /**
Note: See TracChangeset
for help on using the changeset viewer.