xjab_load.h File Reference

#include "../../sr_module.h"
#include "../../str.h"
#include "xjab_base.h"

Include dependency graph for xjab_load.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  xjab_binds

Defines

#define XJ_NO_SCRIPT_F   1

Typedefs

typedef int(* load_xjab_f )(struct xjab_binds *)
typedef int(* pa_register_watcher_f )(str *, str *, void *, void *)
typedef int(* pa_unregister_watcher_f )(str *, str *, void *, void *)

Functions

int load_xjab (struct xjab_binds *)
void xj_register_watcher (str *, str *, void *, void *)
void xj_unregister_watcher (str *, str *, void *, void *)


Define Documentation

#define XJ_NO_SCRIPT_F   1

Definition at line 31 of file xjab_load.h.

Referenced by load_xjab().


Typedef Documentation

typedef int(* load_xjab_f)(struct xjab_binds *)

Definition at line 41 of file xjab_load.h.

typedef int(* pa_register_watcher_f)(str *, str *, void *, void *)

Definition at line 33 of file xjab_load.h.

typedef int(* pa_unregister_watcher_f)(str *, str *, void *, void *)

Definition at line 34 of file xjab_load.h.


Function Documentation

int load_xjab ( struct xjab_binds  ) 

void xj_register_watcher ( str from,
str to,
void *  cbf,
void *  pp 
)

register a watcher function for a Jabber user' presence

skip 'sip:' and parameters in destination address

Definition at line 694 of file jabber.c.

References _xj_sipmsg::cbf, to_body::error, _xj_jkey::hash, _xj_jkey::id, _xj_sipmsg::jkey, _str::len, LM_DBG, LM_ERR, _xj_sipmsg::msg, NULL, _xj_sipmsg::p, _str::s, shm_free, shm_malloc(), _xj_sipmsg::to, _xj_sipmsg::type, xj_extract_aor(), xj_get_hash(), XJ_REG_WATCHER, and xj_wlist_get().

void xj_unregister_watcher ( str from,
str to,
void *  cbf,
void *  pp 
)

unregister a watcher for a Jabber user' presence

Definition at line 786 of file jabber.c.


Generated on Fri May 25 00:00:45 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6