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

| int matrix_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 89 of file db_matrix.c.
| void matrix_db_vars | ( | void | ) |
This is necessary because we're using the 'str' type.
Definition at line 105 of file db_matrix.c.
1.7.1