Configuration functions


o config_new
Allocates a configuration structure.
o config_destroy
Deallocates a configuration structure returned by config_new.
o config_parse_file
Parse a file into a configuration structure.
o config_parse
Parse a string into a configuration structure.
o config_get
Use a configuration structure to map a key to a value.
o config_set
Use a key to store a value in a configuration structure.
o config_test_and_set
Use a configuration structure to map a key to a value, but only if that key isn't present.
o config_delete
Use a configuration structure to map a key to a value.
o config_search_init
Initialize an object to search a configuration structure.
o config_search_rewind
Resets a search object returned by config_search_init.
o config_search_fin
Deallocates a search structure returned by config_search_init.
o config_search_string_firstkey
Returns the first key matching the search.
o config_search_string_nextkey
Returns the next key matching the search.
o config_search_value
Returns the value associated with the key returned by the last match.

Return codes for config_parse_file, config_parse, config_set, config_test_and_set, and config_delete:

Home Alphabetic index



This page was generated with the help of DOC++.