Ignore:
Timestamp:
Jun 15, 2009 4:03:40 PM (16 years ago)
Author:
bennylp
Message:

Ticket #873: Include the parsed XML tuple in the pjsip_pres_status, and include it in the pjsua_buddy_info in PJSUA-LIB, in case the PIDF document contains other info that is needed by application (thanks Johan Lantz for the suggestion)

File:
1 edited

Legend:

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

    r2394 r2762  
    9090        pj_str_t        id;             /**< Tuple id.                      */ 
    9191        pj_str_t        contact;        /**< Optional contact address.      */ 
     92 
     93        pj_xml_node    *tuple_node;     /**< Pointer to tuple XML node of 
     94                                             parsed PIDF body received from 
     95                                             remote agent. Only valid for 
     96                                             client subscription. If the 
     97                                             last received NOTIFY request 
     98                                             does not contain any PIDF body, 
     99                                             this valud will be set to NULL */ 
    92100 
    93101    } info[PJSIP_PRES_STATUS_MAX_INFO]; /**< Array of info.                 */ 
Note: See TracChangeset for help on using the changeset viewer.