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

Macros

#define SQL_INSERTTEMPL   "SELECT P(Y)"
 
#define SQL_VALSIZE   100
 

Functions

int ulogd_db_interp (struct ulogd_pluginstance *upi)
 
int ulogd_db_configure (struct ulogd_pluginstance *upi, struct ulogd_pluginstance_stack *stack)
 
int ulogd_db_start (struct ulogd_pluginstance *upi)
 
int ulogd_db_stop (struct ulogd_pluginstance *upi)
 
void ulogd_db_signal (struct ulogd_pluginstance *upi, int signal)
 

Macro Definition Documentation

#define SQL_INSERTTEMPL   "SELECT P(Y)"
#define SQL_VALSIZE   100

Function Documentation

int ulogd_db_interp ( struct ulogd_pluginstance upi)
void ulogd_db_signal ( struct ulogd_pluginstance upi,
int  signal 
)
int ulogd_db_stop ( struct ulogd_pluginstance upi)