rls.h File Reference

#include "../../str.h"
#include "../xcap_client/xcap_functions.h"
#include "../pua/send_subscribe.h"
#include "../pua/send_publish.h"
#include "../pua/pidf.h"
#include "../presence/hash.h"
#include "../presence/event_list.h"
#include "../sl/sl_api.h"
#include "../../db/db_con.h"
#include "../../db/db.h"

Include dependency graph for rls.h:

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

Go to the source code of this file.

Data Structures

struct  dialog_id
struct  rls_resource

Defines

#define ACTIVE_STATE   1<<1
#define DID_INIT_LEN   (2* sizeof(DID_SEP))
#define DID_SEP   ";"
#define DID_SEP_LEN   strlen(DID_SEP)
#define NO_UPDATE_TYPE   -1
#define NOT_KNOWN_STATE   0
#define PENDING_STATE   1<<2
#define TERMINATED_STATE   1<<3
#define UPDATED_TYPE   1

Typedefs

typedef struct dialog_id dialog_id_t
typedef struct rls_resource rls_res_t

Functions

static int CONSTR_RLSUBS_DID (subs_t *subs, str *did)

Variables

str db_url
int hash_size
int pid
contains_event_t pres_contains_event
mem_copy_subs_t pres_copy_subs
delete_shtable_t pres_delete_shtable
destroy_shtable_t pres_destroy_shtable
extract_sdialog_info_t pres_extract_sdialog_info
get_event_list_t pres_get_ev_list
insert_shtable_t pres_insert_shtable
new_shtable_t pres_new_shtable
search_event_t pres_search_event
search_shtable_t pres_search_shtable
update_shtable_t pres_update_shtable
get_record_id_t pua_get_record_id
send_subscribe_t pua_send_subscribe
str rlpres_table
db_con_trls_db
db_func_t rls_dbf
int rls_events
int rls_integrated_xcap_server
int rls_max_expires
shtable_t rls_table
str rls_xcap_table
str rlsubs_table
str server_address
struct sl_binds slb
str str_auth_state_col
str str_callid_col
str str_contact_col
str str_content_type_col
str str_doc_col
str str_doc_type_col
str str_domain_col
str str_etag_col
str str_event_col
str str_event_id_col
str str_expires_col
str str_from_tag_col
str str_local_contact_col
str str_local_cseq_col
str str_presence_state_col
str str_presentity_uri_col
str str_reason_col
str str_record_route_col
str str_remote_cseq_col
str str_resource_uri_col
str str_rlsubs_did_col
str str_socket_info_col
str str_status_col
str str_to_domain_col
str str_to_tag_col
str str_to_user_col
str str_updated_col
str str_username_col
str str_version_col
str str_watcher_domain_col
str str_watcher_username_col
struct tm_binds tmb
int to_presence_code
int waitn_time
xcap_nodeSel_add_step_t xcap_AddStep
xcap_nodeSel_add_terminal_t xcap_AddTerminal
xcap_nodeSel_free_t xcap_FreeNodeSel
xcapGetNewDoc_t xcap_GetNewDoc
xcap_nodeSel_init_t xcap_IntNodeSel
unsigned int xcap_port
char * xcap_root
xmlDocGetNodeByName_t XMLDocGetNodeByName
xmlNodeGetAttrContentByName_t XMLNodeGetAttrContentByName
xmlNodeGetNodeByName_t XMLNodeGetNodeByName
xmlNodeGetNodeContentByName_t XMLNodeGetNodeContentByName


Define Documentation

#define ACTIVE_STATE   1<<1

#define DID_INIT_LEN   (2* sizeof(DID_SEP))

Definition at line 172 of file rls.h.

Referenced by CONSTR_RLSUBS_DID().

#define DID_SEP   ";"

Definition at line 171 of file rls.h.

Referenced by CONSTR_RLSUBS_DID(), and parse_rlsubs_did().

#define DID_SEP_LEN   strlen(DID_SEP)

Definition at line 170 of file rls.h.

Referenced by parse_rlsubs_did().

#define NO_UPDATE_TYPE   -1

Definition at line 43 of file rls.h.

Referenced by send_full_notify(), and timer_send_notify().

#define NOT_KNOWN_STATE   0

Definition at line 46 of file rls.h.

#define PENDING_STATE   1<<2

Definition at line 48 of file rls.h.

Referenced by get_auth_string(), and parse_subs_state().

#define TERMINATED_STATE   1<<3

Definition at line 49 of file rls.h.

Referenced by add_resource_instance(), get_auth_string(), parse_subs_state(), and timer_send_notify().

#define UPDATED_TYPE   1

Definition at line 44 of file rls.h.

Referenced by rls_handle_notify(), and timer_send_notify().


Typedef Documentation

typedef struct dialog_id dialog_id_t

typedef struct rls_resource rls_res_t


Function Documentation

static int CONSTR_RLSUBS_DID ( subs_t subs,
str did 
) [inline, static]


Variable Documentation

Database URL

Definition at line 61 of file permissions.c.

int hash_size

int pid

Definition at line 77 of file rls.c.

Referenced by mod_init(), and rls_restore_db_subs().

Definition at line 99 of file rls.c.

Referenced by mod_init(), and timer_send_notify().

Definition at line 97 of file rls.c.

Referenced by mod_init(), and rls_notify_callback().

Definition at line 98 of file rls.c.

Referenced by mod_init().

Definition at line 101 of file rls.c.

Referenced by mod_init(), and rls_handle_subscribe().

Definition at line 79 of file rls.c.

Referenced by mod_init(), and reply_489().

Definition at line 94 of file rls.c.

Referenced by mod_init(), rls_handle_subscribe(), and rls_restore_db_subs().

Definition at line 93 of file rls.c.

Referenced by mod_init().

Definition at line 78 of file rls.c.

Referenced by mod_init(), and rls_handle_subscribe().

Definition at line 95 of file rls.c.

Referenced by mod_init(), rls_handle_subscribe(), timer_send_notify(), and update_rlsubs().

Definition at line 96 of file rls.c.

Referenced by agg_body_sendn_update(), and mod_init().

Definition at line 111 of file rls.c.

Referenced by mod_init(), and rls_handle_notify().

Definition at line 70 of file rls.c.

Referenced by rls_handle_notify(), rls_presentity_clean(), send_full_notify(), and timer_send_notify().

Definition at line 102 of file rls.c.

Referenced by add_rls_event(), and rls_handle_subscribe().

Definition at line 84 of file rls.c.

Referenced by get_resource_list(), and mod_init().

Definition at line 104 of file rls.c.

Referenced by rls_handle_subscribe().

Definition at line 71 of file rls.c.

Referenced by get_resource_list().

Definition at line 69 of file rls.c.

Referenced by rls_notify_callback().

modules variables

Definition at line 95 of file presence.c.

Referenced by bla_cb(), handle_subscribe(), request_winfo(), and rls_handle_subscribe().

struct sl_binds slb

SL binds

Definition at line 88 of file auth_mod.c.

Definition at line 121 of file rls.c.

Referenced by rls_handle_notify(), send_full_notify(), and timer_send_notify().

Definition at line 83 of file presence/notify.c.

Referenced by restore_db_subs(), and update_db_subs().

Definition at line 123 of file rls.c.

Referenced by rls_handle_notify(), send_full_notify(), and timer_send_notify().

Definition at line 148 of file rls.c.

Definition at line 146 of file rls.c.

Definition at line 69 of file presence/notify.c.

Definition at line 76 of file presence/notify.c.

Definition at line 88 of file presence/notify.c.

Referenced by restore_db_subs(), and update_db_subs().

Definition at line 124 of file rls.c.

Referenced by rls_handle_notify(), send_full_notify(), and timer_send_notify().

Definition at line 82 of file presence/notify.c.

Referenced by get_database_info(), restore_db_subs(), and update_db_subs().

Definition at line 119 of file rls.c.

Referenced by rls_handle_notify(), send_full_notify(), and timer_send_notify().

Definition at line 118 of file rls.c.

Referenced by rls_handle_notify(), send_full_notify(), and timer_send_notify().

Definition at line 87 of file presence/notify.c.

Referenced by restore_db_subs(), and update_db_subs().

Definition at line 71 of file presence/notify.c.

Referenced by get_database_info(), restore_db_subs(), and update_db_subs().

Definition at line 67 of file presence/notify.c.

Referenced by get_database_info(), restore_db_subs(), and update_db_subs().

Definition at line 120 of file rls.c.

Referenced by rls_handle_notify(), send_full_notify(), and timer_send_notify().

Definition at line 68 of file presence/notify.c.

struct tm_binds tmb

TM bind

Definition at line 87 of file acc_mod.c.

Definition at line 103 of file rls.c.

Referenced by rls_handle_subscribe().

Definition at line 68 of file rls.c.

Referenced by mod_init().

Definition at line 101 of file presence_xml.c.

Referenced by get_resource_list(), http_get_rules_doc(), and mod_init().

unsigned int xcap_port

Definition at line 82 of file rls.c.

Referenced by get_resource_list(), mod_init(), and refreshXcapDoc().

char* xcap_root

Definition at line 81 of file rls.c.

Referenced by get_resource_list(), and mod_init().

Definition at line 79 of file pua_xmpp.c.

Referenced by build_xmpp_content(), func_handle_publish(), init(), mod_init(), and winfo2xmpp().

Definition at line 80 of file pua_xmpp.c.

Referenced by build_pidf(), init(), and mod_init().


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