notify_body.c File Reference

Kamailio Presence_XML :: Notify BODY handling. More...

#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"

Include dependency graph for notify_body.c:

Go to the source code of this file.

Functions

stragregate_xmls (str *pres_user, str *pres_domain, str **body_array, int n)
void free_xml_body (char *body)
strget_final_notify_body (subs_t *subs, str *notify_body, xmlNodePtr rule_node)
stroffline_nbody (str *body)
strpres_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)


Detailed Description

Kamailio Presence_XML :: Notify BODY handling.

Definition in file notify_body.c.


Function Documentation

str * agregate_xmls ( str pres_user,
str pres_domain,
str **  body_array,
int  n 
)

void free_xml_body ( char *  body  ) 

Definition at line 50 of file notify_body.c.

References NULL.

Referenced by xml_add_events().

str * get_final_notify_body ( subs_t subs,
str notify_body,
xmlNodePtr  rule_node 
)

str * offline_nbody ( str body  ) 

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().

str* pres_agg_nbody ( str pres_user,
str pres_domain,
str **  body_array,
int  n,
int  off_index 
)

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().

int pres_apply_auth ( str notify_body,
subs_t subs,
str **  final_nbody 
)


Generated on Wed May 23 20:00:41 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6