simple2xmpp.c File Reference

Kamailio presence gateway: SIP/SIMPLE -- XMPP (pua_xmpp). More...

#include <stdio.h>
#include <stdlib.h>
#include <libxml/parser.h>
#include "../../ut.h"
#include "../../cmpapi.h"
#include "../../dprint.h"
#include "../../parser/msg_parser.h"
#include "../../parser/parse_from.h"
#include "../../parser/parse_expires.h"
#include "../../parser/parse_content.h"
#include "../../parser/parse_fline.h"
#include "../../mem/mem.h"
#include "pua_xmpp.h"
#include "simple2xmpp.h"

Include dependency graph for simple2xmpp.c:

Go to the source code of this file.

Functions

int build_xmpp_content (str *to_uri, str *from_uri, str *body, str *id, int is_terminated)
char * get_error_reason (int code, str *reason)
int Notify2Xmpp (struct sip_msg *msg, char *s1, char *s2)
int Sipreply2Xmpp (ua_pres_t *hentity, struct sip_msg *msg)
int winfo2xmpp (str *to_uri, str *body, str *id)


Detailed Description

Kamailio presence gateway: SIP/SIMPLE -- XMPP (pua_xmpp).

Definition in file simple2xmpp.c.


Function Documentation

int build_xmpp_content ( str to_uri,
str from_uri,
str body,
str id,
int  is_terminated 
)

char* get_error_reason ( int  code,
str reason 
)

Definition at line 702 of file simple2xmpp.c.

References LM_ERR, NULL, and pkg_malloc.

Referenced by Sipreply2Xmpp().

int Notify2Xmpp ( struct sip_msg msg,
char *  s1,
char *  s2 
)

int Sipreply2Xmpp ( ua_pres_t hentity,
struct sip_msg msg 
)

int winfo2xmpp ( str to_uri,
str body,
str id 
)


Generated on Thu May 24 12:00:42 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6