rls_mod.h

00001 #ifndef __RLS_MOD_H
00002 #define __RLS_MOD_H
00003 
00004 #include "../../modules/tm/tm_load.h"
00005 #include "../../lib/srdb2/db.h"
00006 #include "rl_subscription.h"
00007 #include "../dialog/dlg_mod.h"
00008 #include "rls_data.h"
00009 #include <xcap/xcap_client.h>
00010 #include "../xcap/xcap_mod.h"
00011 
00012 extern struct tm_binds tmb;
00013 
00015 extern int rls_min_expiration;
00016 
00018 extern int rls_max_expiration;
00019 
00020 /* how often test subscriptions for expiration */
00021 extern int rls_expiration_timer_period;
00022 
00024 extern int rls_default_expiration;
00025 
00027 extern rls_auth_params_t rls_auth_params;
00028 
00029 extern int use_db;
00030 extern db_con_t* rls_db; /* database connection handle */
00031 extern db_func_t rls_dbf;       /* database functions */
00032 extern dlg_func_t dlg_func;
00033 extern char *db_url;
00034 extern int reduce_xcap_needs; /* allows XCAP simulation with web server if possible */
00035 extern int rls_timer_interval;
00036 
00037 extern fill_xcap_params_func fill_xcap_params;
00038 
00039 /* parameters for optimizations */
00040 extern int max_notifications_at_once;
00041 
00042 extern int max_list_nesting_level;
00043 
00044 extern int rls_ignore_408_on_notify;
00045 
00046 #endif