netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ulogd_MYSQL.c File Reference
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <arpa/inet.h>
#include <ulogd/ulogd.h>
#include <ulogd/conffile.h>
#include <mysql/mysql.h>
#include <inttypes.h>
Include dependency graph for ulogd_MYSQL.c:

Data Structures

struct  _field
 

Macros

#define DEBUGP(x, args...)
 
#define STMT_ADD(pos, fmt...)
 
#define TIME_ERR   ((time_t)-1) /* Be paranoid */
 
#define MYSQL_INSERTTEMPL   "insert into X (Y) values (Z)"
 
#define MYSQL_VALSIZE   100
 

Functions

void _init (void)
 

Variables

time_t reconnect = 0
 

Macro Definition Documentation

#define DEBUGP (   x,
  args... 
)
#define MYSQL_INSERTTEMPL   "insert into X (Y) values (Z)"
#define MYSQL_VALSIZE   100
#define STMT_ADD (   pos,
  fmt... 
)
Value:
do { \
if ((pos) >= stmt && stmt_siz > (pos) - stmt) \
snprintf((pos), stmt_siz-((pos)-stmt), ##fmt); \
} while(0)
Definition: statement.h:169
u8 pos
Definition: ip_set_hash_gen.h:187
#define TIME_ERR   ((time_t)-1) /* Be paranoid */

Function Documentation

void _init ( void  )

References register_output().

Here is the call graph for this function:

Variable Documentation

time_t reconnect = 0