Simplified database creation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef H__MODB_MANAGEMENT__
|
||||
#define H__MODB_MANAGEMENT__
|
||||
#ifndef H__MODB_DATABASE__
|
||||
#define H__MODB_DATABASE__
|
||||
|
||||
#include "database.h"
|
||||
#include "modb_types.h"
|
||||
@@ -12,18 +12,10 @@ void modbReleaseUse(stored_conn *sconn);
|
||||
|
||||
|
||||
// MODB instance
|
||||
int modbCreate(stored_conn *sconn, modb_ref *modb);
|
||||
int modbCreate(stored_conn *sconn, modb_ref *modb, column_data **col_data, size_t n_cols);
|
||||
int modbExists(stored_conn *sconn, modb_ref *modb);
|
||||
int modbHasExtendedMetadata(stored_conn *sconn, modb_ref *modb);
|
||||
int modbDestroy(stored_conn *sconn, modb_ref *modb);
|
||||
|
||||
int modbAccountingCreate(stored_conn *sconn, modb_ref *modb);
|
||||
int modbAccountingExists(stored_conn *sconn, modb_ref *modb);
|
||||
int modbAccountingDestroy(stored_conn *sconn, modb_ref *modb);
|
||||
|
||||
int modbMetaExtCreate(stored_conn *sconn, modb_ref *modb,
|
||||
column_data **col_data, size_t cols);
|
||||
int modbMetaExtExists(stored_conn *sconn, modb_ref *modb);
|
||||
int modbMetaExtDestroy(stored_conn *sconn, modb_ref *modb);
|
||||
|
||||
|
||||
#endif // H__MODB_MANAGEMENT__
|
||||
#endif // H__MODB_DATABASE__
|
||||
|
||||
Reference in New Issue
Block a user