#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
#include <ulogd/ulogd.h>
#include <ulogd/conffile.h>
#include <sqlite3.h>
#include <sys/queue.h>
Data Structures | |
struct | field |
struct | sqlite3_priv |
Macros | |
#define | CFG_BUFFER_DEFAULT 10 |
#define | DEBUGP(x, args...) |
#define | tailq_for_each(pos, head, link) for (pos = (head).tqh_first; pos != NULL; pos = pos->link.tqe_next) |
#define | db_ce(pi) (pi)->config_kset->ces[0].u.string |
#define | table_ce(pi) (pi)->config_kset->ces[1].u.string |
#define | buffer_ce(pi) (pi)->config_kset->ces[2].u.value |
#define | _SQLITE3_INSERTTEMPL "insert into X (Y) values (Z)" |
#define | SELECT_ALL_STR "select * from " |
#define | SELECT_ALL_LEN sizeof(SELECT_ALL_STR) |
#define | SQLITE3_BUSY_TIMEOUT 300 |
Functions | |
TAILQ_HEAD (field_lh, field) | |
#define _SQLITE3_INSERTTEMPL "insert into X (Y) values (Z)" |
#define buffer_ce | ( | pi | ) | (pi)->config_kset->ces[2].u.value |
#define CFG_BUFFER_DEFAULT 10 |
#define db_ce | ( | pi | ) | (pi)->config_kset->ces[0].u.string |
#define DEBUGP | ( | x, | |
args... | |||
) |
#define SELECT_ALL_LEN sizeof(SELECT_ALL_STR) |
#define SELECT_ALL_STR "select * from " |
#define SQLITE3_BUSY_TIMEOUT 300 |
#define table_ce | ( | pi | ) | (pi)->config_kset->ces[1].u.string |
#define tailq_for_each | ( | pos, | |
head, | |||
link | |||
) | for (pos = (head).tqh_first; pos != NULL; pos = pos->link.tqe_next) |
TAILQ_HEAD | ( | field_lh | , |
field | |||
) |