#include <string.h>
#include <stdlib.h>
#include <libxml/parser.h>
#include "../../mem/mem.h"
#include "../presence/utils_func.h"
#include "../presence/hash.h"
#include "xcap_auth.h"
#include "pidf.h"
#include "notify_body.h"
#include "presence_xml.h"

Go to the source code of this file.
Functions | |
| str * | agregate_xmls (str *pres_user, str *pres_domain, str **body_array, int n) |
| void | free_xml_body (char *body) |
| str * | get_final_notify_body (subs_t *subs, str *notify_body, xmlNodePtr rule_node) |
| str * | offline_nbody (str *body) |
| str * | pres_agg_nbody (str *pres_user, str *pres_domain, str **body_array, int n, int off_index) |
| int | pres_apply_auth (str *notify_body, subs_t *subs, str **final_nbody) |
Definition in file notify_body.c.
Definition at line 452 of file notify_body.c.
References ERR_MEM, get_rules_doc(), len, _str::len, LM_DBG, LM_ERR, NULL, PIDF_MANIPULATION, pidf_manipulation, pkg_free, pkg_malloc, PKG_MEM_STR, s, _str::s, xmlDocGetNodeByName(), xmlNodeGetAttrContentByName(), and xmlNodeGetChildByName().
Referenced by pres_agg_nbody().
| void free_xml_body | ( | char * | body | ) |
Definition at line 147 of file notify_body.c.
References _str::len, LM_DBG, LM_ERR, NULL, pkg_free, pkg_malloc, _str::s, xmlDocGetNodeByName(), xmlNodeGetAttrContentByName(), xmlNodeGetChildByName(), xmlNodeGetNodeByName(), and xmlNodeGetNodeContentByName().
Referenced by pres_apply_auth().
Definition at line 644 of file notify_body.c.
References ERR_MEM, _str::len, LM_ERR, NULL, pkg_malloc, PKG_MEM_STR, _str::s, and xmlDocGetNodeByName().
Referenced by pres_agg_nbody().
Definition at line 60 of file notify_body.c.
References agregate_xmls(), _str::len, LM_DBG, LM_ERR, NULL, offline_nbody(), pidf_manipulation, pkg_free, _str::s, and s.
Referenced by xml_add_events().
Definition at line 100 of file notify_body.c.
References subscription::auth_rules_doc, force_active, get_final_notify_body(), get_rule_node(), _str::len, LM_DBG, LM_ERR, NULL, and _str::s.
Referenced by xml_add_events().
1.5.6