Bemanitools v5.26 release

This commit is contained in:
icex2
2019-09-27 22:36:50 +02:00
commit cbd7720349
718 changed files with 62731 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#ifndef CCONFIG_H
#define CCONFIG_H
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
struct cconfig_entry {
char* key;
char* value;
char* desc;
};
struct cconfig {
uint32_t nentries;
struct cconfig_entry* entries;
};
struct cconfig* cconfig_init();
struct cconfig_entry* cconfig_get(struct cconfig* config,
const char* key);
void cconfig_set(struct cconfig* config, const char* key, const char* value,
const char* desc);
void cconfig_set2(struct cconfig* config, const char* key, const char* value);
void cconfig_finit(struct cconfig* config);
#endif