Debian Codegraph @

src/modules/db/mysql/mysql.h

raw
1 #ifndef _CDEBCONF_MYSQL_H_
2 #define _CDEBCONF_MYSQL_H_
3
4 #include <mysql/mysql.h>
5 struct dbdata {
6 MYSQL dbh;
7 };
8
9 /*
10 * These two structs (database and database_module) are just dummy structs
11 * created to get the source compiling. [[email protected] 2002-09-06]
12 */
13 struct database {
14 struct dbdata *data;
15 };
16 struct database_module {
17 void *initialize;
18 void *shutdown;
19 void *load;
20 void *save;
21
22 void *template_set;
23 void *template_get;
24 void *template_remove;
25 void *template_iterate;
26
27 void *question_get;
28 void *question_set;
29 void *question_disown;
30 void *question_iterate;
31 };
32
33 #endif