netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ulogd_output_DBI.c File Reference
#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>
Include dependency graph for ulogd_output_DBI.c:

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))
 

Macro Definition Documentation

#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])

Function Documentation

void __attribute__ ( (constructor)  )

References NULL, and ulogd_register_plugin().

Here is the call graph for this function: