Kannel: Open Source WAP and SMS gateway
svn-r5336
|
Go to the source code of this file.
Data Structures | |
struct | dlr_entry |
struct | dlr_storage |
struct | dlr_db_fields |
Macros | |
#define | DLR_TRACE 1 |
#define | MIN_DST_LEN 7 |
Functions | |
struct dlr_entry * | dlr_entry_create (void) |
void | dlr_entry_destroy (struct dlr_entry *dlr) |
struct dlr_entry * | dlr_entry_duplicate (const struct dlr_entry *dlr) |
struct dlr_db_fields * | dlr_db_fields_create (CfgGroup *grp) |
void | dlr_db_fields_destroy (struct dlr_db_fields *fields) |
struct dlr_storage * | dlr_init_mem (Cfg *cfg) |
struct dlr_storage * | dlr_init_spool (Cfg *cfg) |
struct dlr_storage * | dlr_init_mysql (Cfg *cfg) |
struct dlr_storage * | dlr_init_sdb (Cfg *cfg) |
struct dlr_storage * | dlr_init_oracle (Cfg *cfg) |
struct dlr_storage * | dlr_init_pgsql (Cfg *cfg) |
struct dlr_storage * | dlr_init_mssql (Cfg *cfg) |
struct dlr_storage * | dlr_init_sqlite3 (Cfg *cfg) |
struct dlr_storage * | dlr_init_redis (Cfg *cfg) |
struct dlr_storage * | dlr_init_cass (Cfg *cfg) |
#define MIN_DST_LEN 7 |
Definition at line 74 of file dlr_p.h.
Referenced by dlr_find().
struct dlr_db_fields* dlr_db_fields_create | ( | CfgGroup * | grp | ) |
Definition at line 169 of file dlr.c.
References cfg_get, cfg_get_integer(), dlr_db_fields::field_boxc, dlr_db_fields::field_dst, dlr_db_fields::field_mask, dlr_db_fields::field_serv, dlr_db_fields::field_smsc, dlr_db_fields::field_src, dlr_db_fields::field_status, dlr_db_fields::field_ts, dlr_db_fields::field_url, gw_assert(), octstr_imm(), panic, dlr_db_fields::table, and dlr_db_fields::ttl.
void dlr_db_fields_destroy | ( | struct dlr_db_fields * | fields | ) |
Definition at line 204 of file dlr.c.
References dlr_db_fields::field_boxc, dlr_db_fields::field_dst, dlr_db_fields::field_mask, dlr_db_fields::field_serv, dlr_db_fields::field_smsc, dlr_db_fields::field_src, dlr_db_fields::field_status, dlr_db_fields::field_ts, dlr_db_fields::field_url, O_DELETE, and dlr_db_fields::table.
struct dlr_entry* dlr_entry_create | ( | void | ) |
Definition at line 103 of file dlr.c.
References gw_assert().
Referenced by dlr_add(), dlr_entry_duplicate(), and dlr_spool_get().
void dlr_entry_destroy | ( | struct dlr_entry * | dlr | ) |
Definition at line 142 of file dlr.c.
References dlr_entry::boxc_id, dlr_entry::destination, dlr_entry::mask, O_DELETE, dlr_entry::service, dlr_entry::smsc, dlr_entry::source, dlr_entry::timestamp, and dlr_entry::url.
Referenced by dlr_find(), dlr_mem_flush(), dlr_mem_remove(), dlr_mem_shutdown(), and dlr_spool_add().
Definition at line 119 of file dlr.c.
References dlr_entry::boxc_id, dlr_entry::destination, dlr_entry_create(), dlr_entry::mask, octstr_duplicate, dlr_entry::service, dlr_entry::smsc, dlr_entry::source, dlr_entry::timestamp, and dlr_entry::url.
Referenced by dlr_mem_get().
struct dlr_storage* dlr_init_cass | ( | Cfg * | cfg | ) |
struct dlr_storage* dlr_init_mem | ( | Cfg * | cfg | ) |
Definition at line 206 of file dlr_mem.c.
References dlr_waiting_list, gw_rwlock_init_static(), gwlist_create, handles, and rwlock.
Referenced by dlr_init().
struct dlr_storage* dlr_init_mssql | ( | Cfg * | cfg | ) |
struct dlr_storage* dlr_init_mysql | ( | Cfg * | cfg | ) |
struct dlr_storage* dlr_init_oracle | ( | Cfg * | cfg | ) |
struct dlr_storage* dlr_init_pgsql | ( | Cfg * | cfg | ) |
struct dlr_storage* dlr_init_redis | ( | Cfg * | cfg | ) |
struct dlr_storage* dlr_init_sdb | ( | Cfg * | cfg | ) |
struct dlr_storage* dlr_init_spool | ( | Cfg * | cfg | ) |
Definition at line 606 of file dlr_spool.c.
References cfg, cfg_get, cfg_get_single_group(), counter, counter_create(), for_each_file(), handles, non_verified_file(), octstr_imm(), panic, and spool_dir.
Referenced by dlr_init().
struct dlr_storage* dlr_init_sqlite3 | ( | Cfg * | cfg | ) |
Definition at line 421 of file dlr_sqlite3.c.
Referenced by dlr_init().