Provides functions for configuring from a file.
This module provides functions for reading configuration files and setting configuration items. The ub_set_item_cb_t
callback function can be generated using the ub_genconf.py
script.
Go to the source code of this file.
Typedefs | |
typedef int(* | ub_set_item_cb_t) (char *itemp, void *v) |
Callback function for configuring a single item. More... | |
Functions | |
int | ub_read_config_file (char *fname, ub_set_item_cb_t set_item) |
Read a configuration file and set all items in the file. More... | |