|
libopm 0.1
|
#include "libopm.h"Data Structures | |
| struct | _opm_config_hash |
Typedefs | |
| typedef struct _opm_config_hash | OPM_CONFIG_HASH_T |
Functions | |
| void | libopm_config_free (OPM_CONFIG_T *) |
| void * | libopm_config (OPM_CONFIG_T *, int) |
| int | libopm_config_gettype (int) |
| OPM_CONFIG_T * | libopm_config_create (void) |
| OPM_ERR_T | libopm_config_set (OPM_CONFIG_T *, int, void *) |
| typedef struct _opm_config_hash OPM_CONFIG_HASH_T |
| void libopm_config_free | ( | OPM_CONFIG_T * | config | ) |
References _libopm_node::data, _libopm_list::head, libopm_config_gettype(), LIST_FOREACH_SAFE, MyFree, OPM_TYPE_STRINGLIST, and _OPM_CONFIG::vars.
Referenced by opm_free().
| void * libopm_config | ( | OPM_CONFIG_T * | config, |
| int | key ) |
| int libopm_config_gettype | ( | int | key | ) |
Referenced by libopm_config_create(), libopm_config_free(), and libopm_config_set().
| OPM_CONFIG_T * libopm_config_create | ( | void | ) |
References libopm_config_gettype(), libopm_list_create(), MyMalloc, OPM_TYPE_ADDRESS, OPM_TYPE_INT, OPM_TYPE_STRING, OPM_TYPE_STRINGLIST, and _OPM_CONFIG::vars.
Referenced by opm_create().
| OPM_ERR_T libopm_config_set | ( | OPM_CONFIG_T * | config, |
| int | key, | ||
| void * | value ) |
References inet_pton, libopm_config_gettype(), libopm_list_add(), libopm_node_create(), MyFree, OPM_ERR_BADKEY, OPM_ERR_BADVALUE, OPM_SUCCESS, OPM_TYPE_ADDRESS, OPM_TYPE_INT, OPM_TYPE_STRING, OPM_TYPE_STRINGLIST, and _OPM_CONFIG::vars.
Referenced by opm_config().
1.15.0