config
Name
config -- Routines for reading configuration information for the libuser library.
Synopsis
GList* lu_cfg_read (struct lu_context *context,
const char *key,
const char *default_value);
const char* lu_cfg_read_single (struct lu_context *context,
const char *key,
const char *default_value);
GList* lu_cfg_read_keys (struct lu_context *context,
const char *parent_key); |
Description
These routines allow an application or module to read configuration data
from the libuser configuration.
Details
lu_cfg_read ()
GList* lu_cfg_read (struct lu_context *context,
const char *key,
const char *default_value); |
Reads the list of values for a given key from the configuration space.
lu_cfg_read_single ()
const char* lu_cfg_read_single (struct lu_context *context,
const char *key,
const char *default_value); |
Read a single value set for a given key in the configuration space. This is
a convenience function.
lu_cfg_read_keys ()
GList* lu_cfg_read_keys (struct lu_context *context,
const char *parent_key); |
Read the names of all of the keys "below" a given key in the configuration
space. This function is typically used for walking the configuration space.