USERBLACKLIST :: module definitions
More...#include <string.h>#include "../../parser/parse_uri.h"#include "../../mem/shm_mem.h"#include "../../sr_module.h"#include "../../lib/kmi/mi.h"#include "../../mem/mem.h"#include "../../usr_avp.h"#include "../../locking.h"#include "../../error.h"#include "../../ut.h"#include "../../mod_fix.h"#include "../../lib/trie/dtrie.h"#include "db.h"#include "db_userblacklist.h"
Go to the source code of this file.
Definition in file userblacklist.c.
| static int add_source | ( | const char * | table | ) | [static] |
Definition at line 372 of file userblacklist.c.
References dtrie_init(), and match_mode.

| static int reload_sources | ( | void | ) | [static] |
Definition at line 545 of file userblacklist.c.
References db_reload_source(), _str::len, and _str::s.

| static struct dtrie_node_t* table2dt | ( | const char * | table | ) | [static, read] |
Definition at line 354 of file userblacklist.c.
| int match_mode = 10 |
Definition at line 77 of file userblacklist.c.
Referenced by add_source(), and db_reload_source().
| int use_domain = 0 |
Should does_uri_exist honor the domain part ?
Use domain in is_user_in.
Definition at line 76 of file userblacklist.c.
1.7.1