Ignore:
Timestamp:
Oct 12, 2010 11:35:55 AM (14 years ago)
Author:
bennylp
Message:

Closed #1146: support for multipart message bodies in incoming NOTIFY requests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip-simple/presence.h

    r2762 r3337  
    329329 * 
    330330 * @return              PJ_SUCCESS on success. 
     331 * 
     332 * @see pjsip_pres_parse_pidf2() 
    331333 */ 
    332334PJ_DECL(pj_status_t) pjsip_pres_parse_pidf(pjsip_rx_data *rdata, 
     
    334336                                           pjsip_pres_status *status); 
    335337 
     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 */ 
     353PJ_DECL(pj_status_t) pjsip_pres_parse_pidf2(char *body, unsigned body_len, 
     354                                            pj_pool_t *pool, 
     355                                            pjsip_pres_status *status); 
    336356 
    337357 
     
    345365 * 
    346366 * @return              PJ_SUCCESS on success. 
     367 * 
     368 * @see pjsip_pres_parse_xpidf2() 
    347369 */ 
    348370PJ_DECL(pj_status_t) pjsip_pres_parse_xpidf(pjsip_rx_data *rdata, 
     
    351373 
    352374 
     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 */ 
     390PJ_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 
    353395 
    354396/** 
Note: See TracChangeset for help on using the changeset viewer.