Database support for modules. More...
#include "../../lib/srdb1/db.h"#include "../../str.h"#include "../../ut.h"#include <string.h>

Go to the source code of this file.
Database support functions for modules.
Definition in file db_userblacklist.h.
| int userblacklist_db_init | ( | void | ) |
This should be called from the mod_init function.
Definition at line 70 of file db_userblacklist.c.
References db_bind_mod(), db_check_table_version(), _str::len, and _str::s.

| int userblacklist_db_open | ( | void | ) |
This should be called from child_init. An already existing database connection will be closed, and a new one created.
Definition at line 103 of file db_userblacklist.c.
| void userblacklist_db_vars | ( | void | ) |
This is necessary because we're using the 'str' type.
Definition at line 119 of file db_userblacklist.c.
1.7.1