#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <arpa/inet.h>
#include <ulogd/ulogd.h>
#include <ulogd/conffile.h>
#include <ulogd/db.h>
#include <dbi.h>
#include <ctype.h>
Data Structures | |
struct | dbi_instance |
Macros | |
#define | DEBUGP(x, args...) |
#define | TIME_ERR ((time_t)-1) |
#define | db_ce(x) (x->ces[DB_CE_NUM+0]) |
#define | host_ce(x) (x->ces[DB_CE_NUM+1]) |
#define | user_ce(x) (x->ces[DB_CE_NUM+2]) |
#define | pass_ce(x) (x->ces[DB_CE_NUM+3]) |
#define | port_ce(x) (x->ces[DB_CE_NUM+4]) |
#define | schema_ce(x) (x->ces[DB_CE_NUM+5]) |
#define | dbtype_ce(x) (x->ces[DB_CE_NUM+6]) |
Functions | |
void | __attribute__ ((constructor)) |
#define db_ce | ( | x | ) | (x->ces[DB_CE_NUM+0]) |
#define dbtype_ce | ( | x | ) | (x->ces[DB_CE_NUM+6]) |
#define DEBUGP | ( | x, | |
args... | |||
) |
#define host_ce | ( | x | ) | (x->ces[DB_CE_NUM+1]) |
#define pass_ce | ( | x | ) | (x->ces[DB_CE_NUM+3]) |
#define port_ce | ( | x | ) | (x->ces[DB_CE_NUM+4]) |
#define schema_ce | ( | x | ) | (x->ces[DB_CE_NUM+5]) |
#define TIME_ERR ((time_t)-1) |
#define user_ce | ( | x | ) | (x->ces[DB_CE_NUM+2]) |
void __attribute__ | ( | (constructor) | ) |