Start of MODB implementation

- Create, check and destroy MODB tables
This commit is contained in:
2020-09-24 16:45:27 +01:00
parent 7a1dd09ca1
commit 2e6eb0b107
6 changed files with 586 additions and 0 deletions

15
src/modb_types.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef H__MODB_TYPES__
#define H__MODB_TYPES__
#include <stddef.h>
#include <stdint.h>
struct modb_t {
char *name;
size_t name_len;
};
struct modb_t *modbAlloc(const char *name, size_t name_len);
void modbRelease(struct modb_t **modb);
#endif // H__MODB_TYPES__