33 #ifndef ASTERISK_PJSIP_PRESENCE_XML_H
34 #define ASTERISK_PJSIP_PRESENCE_XML_H
36 #define AST_PJSIP_XML_PROLOG_LEN 39
41 enum ast_sip_pidf_state {
63 void ast_sip_sanitize_xml(
const char *input,
char *output,
size_t len);
75 void ast_sip_presence_exten_state_to_str(
int state,
char **statestring,
76 char **pidfstate,
char **pidfnote,
enum ast_sip_pidf_state *local_state,
77 unsigned int notify_early_inuse_ringing);
89 pj_xml_attr *ast_sip_presence_xml_create_attr(pj_pool_t *
pool,
90 pj_xml_node *
node,
const char *name,
const char *value);
100 pj_xml_node *ast_sip_presence_xml_create_node(pj_pool_t *
pool,
101 pj_xml_node *parent,
const char* name);
118 void ast_sip_presence_xml_find_node_attr(pj_pool_t*
pool,
119 pj_xml_node *parent,
const char *node_name,
const char *attr_name,
120 pj_xml_node **
node, pj_xml_attr **attr);
static pj_pool_t * pool
Global memory pool for configuration and timers.