33 #ifndef ASTERISK_PJSIP_PRESENCE_XML_H 34 #define ASTERISK_PJSIP_PRESENCE_XML_H 36 #define AST_PJSIP_XML_PROLOG_LEN 39 76 unsigned int notify_early_inuse_ringing);
100 pj_xml_node *parent,
const char*
name);
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.
pj_xml_attr * ast_sip_presence_xml_create_attr(pj_pool_t *pool, pj_xml_node *node, const char *name, const char *value)
Create XML attribute.
static int input(yyscan_t yyscanner)
void ast_sip_presence_exten_state_to_str(int state, char **statestring, char **pidfstate, char **pidfnote, enum ast_sip_pidf_state *local_state, unsigned int notify_early_inuse_ringing)
Convert extension state to relevant PIDF strings.
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
pj_xml_node * ast_sip_presence_xml_create_node(pj_pool_t *pool, pj_xml_node *parent, const char *name)
Create XML node.
void ast_sip_sanitize_xml(const char *input, char *output, size_t len)
Replace offensive XML characters with XML entities.
void ast_sip_presence_xml_find_node_attr(pj_pool_t *pool, pj_xml_node *parent, const char *node_name, const char *attr_name, pj_xml_node **node, pj_xml_attr **attr)
Find an attribute within a given node.