diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-06-15 16:03:40 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-06-15 16:03:40 +0000 |
commit | f44d17658e64639499d53b2c524718546bb2bd5e (patch) | |
tree | 73ab08185b3e4345eb44b197ce4dcfc6e8d465de /pjsip/include/pjsip-simple/presence.h | |
parent | 95b0b178d8f25b6342f8821747404c8ac3d047e7 (diff) |
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)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2762 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip-simple/presence.h')
-rw-r--r-- | pjsip/include/pjsip-simple/presence.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pjsip/include/pjsip-simple/presence.h b/pjsip/include/pjsip-simple/presence.h index efebeb2c..7c996123 100644 --- a/pjsip/include/pjsip-simple/presence.h +++ b/pjsip/include/pjsip-simple/presence.h @@ -90,6 +90,14 @@ struct pjsip_pres_status pj_str_t id; /**< Tuple id. */ pj_str_t contact; /**< Optional contact address. */ + pj_xml_node *tuple_node; /**< Pointer to tuple XML node of + parsed PIDF body received from + remote agent. Only valid for + client subscription. If the + last received NOTIFY request + does not contain any PIDF body, + this valud will be set to NULL */ + } info[PJSIP_PRES_STATUS_MAX_INFO]; /**< Array of info. */ pj_bool_t _is_valid; /**< Internal flag. */ |