Files
rmodb/src/modb.h
avsdev-cw 2e6eb0b107 Start of MODB implementation
- Create, check and destroy MODB tables
2020-09-24 16:45:27 +01:00

23 lines
852 B
C

#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__