Simple SQLite3 interface is available.

FossilOrigin-Name: 5bbd9c9c08c71292176295c13c8a5021e9ea7476998d4312f6bc900ae773a412
This commit is contained in:
7u83@mail.ru
2015-05-02 00:02:06 +00:00
parent 2dbe69d18c
commit 718b3c75b1
15 changed files with 160 additions and 70 deletions

View File

@ -1,8 +1,16 @@
#ifndef CW_MAVL_H
#define CW_MAVL_H
#include "capwap/mavl.h"
extern void db_ping();
extern int db_init();
int db_start();
void db_put_wtp_prop(const char *wtp_id,int rid, const char * prop,const char * val);
int db_get_tasks(struct conn * conn,const char * wtpid);
void db_put_wtp_prop(const char *wtp_id,const char * id,const char *sub_id,const char * val);
mavl_conststr_t db_get_update_tasks(struct conn * conn,const char * wtpid);
#endif