Start of MODB implementation
- Create, check and destroy MODB tables
This commit is contained in:
22
src/modb.h
Normal file
22
src/modb.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef H__MODB__
|
||||
#define H__MODB__
|
||||
|
||||
#include "db_connection.h"
|
||||
#include "db_column.h"
|
||||
#include "modb_types.h"
|
||||
|
||||
|
||||
int modbCreate(struct stored_conn_t *sconn, struct modb_t *modb);
|
||||
int modbExists(struct stored_conn_t *sconn, struct modb_t *modb);
|
||||
int modbDestroy(struct stored_conn_t *sconn, struct modb_t *modb);
|
||||
|
||||
int modbAccountingCreate(struct stored_conn_t *sconn, struct modb_t *modb);
|
||||
int modbAccountingExists(struct stored_conn_t *sconn, struct modb_t *modb);
|
||||
int modbAccountingDestroy(struct stored_conn_t *sconn, struct modb_t *modb);
|
||||
|
||||
int modbMetaExtCreate(struct stored_conn_t *sconn, struct modb_t *modb,
|
||||
struct column_data_t **col_data, size_t cols);
|
||||
int modbMetaExtExists(struct stored_conn_t *sconn, struct modb_t *modb);
|
||||
int modbMetaExtDestroy(struct stored_conn_t *sconn, struct modb_t *modb);
|
||||
|
||||
#endif // H__MODB__
|
||||
Reference in New Issue
Block a user