#include "../../str.h"


Go to the source code of this file.
Data Structures | |
| struct | _xj_jkey |
| struct | _xj_sipmsg |
Defines | |
| #define | XJ_DEL_WATCHER 64 |
| #define | XJ_EXIT_JCONF 4 |
| #define | XJ_FLAG_CLOSE 1 |
| #define | XJ_FLAG_OPEN 0 |
| #define | XJ_GO_OFFLINE 16 |
| #define | XJ_GO_ONLINE 8 |
| #define | XJ_JOIN_JCONF 2 |
| #define | XJ_NULL 0 |
| #define | XJ_REG_WATCHER 32 |
| #define | XJ_SEND_MESSAGE 1 |
Typedefs | |
| typedef void(* | pa_callback_f )(str *_user, str *_contact, int _state, void *p) |
| typedef struct _xj_jkey | t_xj_jkey |
| typedef struct _xj_sipmsg | t_xj_sipmsg |
| typedef struct _xj_jkey * | xj_jkey |
| typedef struct _xj_sipmsg * | xj_sipmsg |
Functions | |
| char * | shahash (const char *) |
| int | xj_extract_aor (str *, int) |
| int | xj_get_hash (str *, str *) |
| int | xj_jkey_cmp (void *, void *) |
| void | xj_jkey_free (xj_jkey) |
| void | xj_jkey_free_p (void *) |
| void | xj_sipmsg_free (xj_sipmsg) |
| #define XJ_DEL_WATCHER 64 |
| #define XJ_EXIT_JCONF 4 |
Definition at line 43 of file xjab_base.h.
Referenced by xj_exit_jconf(), xj_worker_process(), and xjab_manage_sipmsg().
| #define XJ_FLAG_CLOSE 1 |
| #define XJ_FLAG_OPEN 0 |
Definition at line 49 of file xjab_base.h.
Referenced by xj_wlist_get(), and xj_worker_check_jcons().
| #define XJ_GO_OFFLINE 16 |
Definition at line 45 of file xjab_base.h.
Referenced by xj_go_offline(), xj_worker_process(), and xjab_manage_sipmsg().
| #define XJ_GO_ONLINE 8 |
Definition at line 44 of file xjab_base.h.
Referenced by xj_go_online(), xj_worker_process(), and xjab_manage_sipmsg().
| #define XJ_JOIN_JCONF 2 |
Definition at line 42 of file xjab_base.h.
Referenced by xj_join_jconf(), xj_worker_process(), and xjab_manage_sipmsg().
| #define XJ_NULL 0 |
eXtended JABber module
Copyright (C) 2001-2003 FhG Fokus
This file is part of Kamailio, a free SIP server.
Kamailio is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version
Kamailio is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Definition at line 40 of file xjab_base.h.
| #define XJ_REG_WATCHER 32 |
Definition at line 46 of file xjab_base.h.
Referenced by xj_register_watcher(), and xj_worker_process().
| #define XJ_SEND_MESSAGE 1 |
Definition at line 41 of file xjab_base.h.
Referenced by xj_send_message(), xj_worker_process(), and xjab_manage_sipmsg().
| typedef void(* pa_callback_f)(str *_user, str *_contact, int _state, void *p) |
Definition at line 52 of file xjab_base.h.
| typedef struct _xj_sipmsg t_xj_sipmsg |
| typedef struct _xj_sipmsg * xj_sipmsg |
| char* shahash | ( | const char * | ) |
Definition at line 201 of file jabber/sha.c.
| int xj_extract_aor | ( | str * | , | |
| int | ||||
| ) |
Definition at line 151 of file xjab_base.c.
References sip_uri::host, _str::len, LM_ERR, parse_uri(), _str::s, and sip_uri::user.
Referenced by xj_register_watcher(), and xjab_manage_sipmsg().
get the hash code - based on Andrei's function
Definition at line 44 of file xjab_base.c.
References _str::len, and _str::s.
Referenced by xj_jconf_init_jab(), xj_jconf_init_sip(), xj_pres_cell_init(), xj_pres_list_check(), xj_pres_list_del(), xj_register_watcher(), and xjab_manage_sipmsg().
| int xj_jkey_cmp | ( | void * | x, | |
| void * | y | |||
| ) |
function used to compare two xj_jkey elements
Definition at line 92 of file xjab_base.c.
References _xj_jkey::hash, _xj_jkey::id, _str::len, NULL, and _str::s.
Referenced by xj_wlist_init().
| void xj_jkey_free | ( | xj_jkey | ) |
| void xj_jkey_free_p | ( | void * | p | ) |
free the information from a jkey
Definition at line 120 of file xjab_base.c.
References _M_SHM_FREE, id, and NULL.
Referenced by xj_wlist_clean_jobs(), xj_wlist_del(), xj_wlist_free(), and xj_wlist_init().
| void xj_sipmsg_free | ( | xj_sipmsg | jsmsg | ) |
free a pointer to a t_jab_sipmsg structure > element where points 'from' MUST be deliberated separated
Definition at line 137 of file xjab_base.c.
References _M_SHM_FREE, _xj_sipmsg::msg, NULL, _str::s, and _xj_sipmsg::to.
Referenced by xj_worker_check_qmsg(), and xj_worker_process().
1.5.6