Files | |
file | ub_confutils.h |
Configure from a configuration file. ub_set_item_cb_t callback function can be generated by 'ub_genconf.py'. | |
Functions | |
int | ub_read_config_file (char *fname, ub_set_item_cb_t set_item) |
read from a configuration file, and set all items in the file More... | |
Typedefs | |
typedef int(* | ub_set_item_cb_t) (char *itemp, void *v) |
call back function which configures one configuration item indicated by a string of 'itemp' to value 'v' More... | |
typedef int(* ub_set_item_cb_t) (char *itemp, void *v) |
call back function which configures one configuration item indicated by a string of 'itemp' to value 'v'
int ub_read_config_file | ( | char * | fname, |
ub_set_item_cb_t | set_item | ||
) |
read from a configuration file, and set all items in the file