Functions

modules_k/userblacklist/db.h File Reference

USERBLACKLIST :: database access

More...

#include "../../sr_module.h"
#include "../../lib/trie/dtrie.h"
Include dependency graph for modules_k/userblacklist/db.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions


Detailed Description

Definition in file modules_k/userblacklist/db.h.


Function Documentation

int db_reload_source ( const str table,
struct dtrie_node_t root 
)
Returns:
negative on failure, positive on success, indicating the number of d-tree entries

Definition at line 110 of file modules_k/userblacklist/db.c.

References dtrie_clear(), dtrie_insert(), _str::len, match_mode, RES_COL_N, RES_ROW_N, RES_ROWS, _str::s, and db_val_t::string_val.

Referenced by reload_sources().

Here is the call graph for this function:

Here is the caller graph for this function: