#include <fakedbfs/types.h>
Go to the source code of this file.
Classes | |
| struct | _config |
| struct | _confnode |
Defines | |
| #define | CN_FLAG_LEAF 0x1 |
| #define | CN_DYNA_DATA 0x2 |
| #define | CN_DYNA_STR 0x4 |
| #define | CN_FLAG_ROOT 0x8 |
| #define | ROOT_NODE_TAG "fdbfs" |
| #define | CONFTABLE "config" |
| #define | CONFTABLESPEC |
Functions | |
| confnode_t * | fdbfs_conf_node_create (const char *tag, confnode_t *parent, int leaf) |
| int | fdbfs_conf_init (fdbfs_t *f) |
| int | fdbfs_conf_init_db (fdbfs_t *f) |
| int | fdbfs_conf_add_to_tree (fdbfs_t *f, const char *mib, enum DataType type, union Data *data, short dynamic) |
| int | fdbfs_conf_read_from_db (fdbfs_t *f) |
| enum DataType | fdbfs_conf_get (fdbfs_t *f, const char *mib, union Data *data) |
| int | fdbfs_conf_set (fdbfs_t *f, const char *mib, enum DataType type, union Data data) |
| void | fdbfs_conf_destroy_tree (confnode_t *t) |
| confnode_t * | fdbfs_conf_search_mib (confnode_t *p, const char *mib) |
| Search for confnode_t in tree. | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: "id INTEGER PRIMARY KEY, mib TEXT UNIQUE," \ " type INTEGER, value BLOB" |
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
Search for confnode_t in tree.
|
|
||||||||||||||||||||
|
|
1.4.6