Go to the source code of this file.
Defines | |
#define | ANYCFG_H_FILE 1 |
Typedefs | |
typedef void* | ANYCFG_H |
This is actually an AcConfiguration pointer. More... | |
Functions | |
void | acfInit () |
Must be called before any acfXXX function is used. More... | |
void | acfTerm () |
May only be called after all ANYCFG_H handles have been closed. More... | |
ANYCFG_H | acfOpen (int argn, char *argv[]) |
Open whatever configuration we can find. More... | |
long | acfGetLong (ANYCFG_H cfgHdl, char *key) |
Get an integer value from the configuration. More... | |
int | acfGetBool (ANYCFG_H cfgHdl, char *key) |
Get an boolean (yes/no) value from the configuration. More... | |
double | acfGetNumber (ANYCFG_H cfgHdl, char *key) |
Get an floating point value from the configuration. More... | |
int | acfGetStr (ANYCFG_H cfgHdl, char *key, char *value) |
Get a string value from the configuration. More... | |
void | acfClose (ANYCFG_H cfgHdl) |
Close a configuration. More... |
It also makes it possible do simple manipulation of configurations without including all of the configuration library header files.
|
This is actually an AcConfiguration pointer.
|
|
Close a configuration.
|
|
Get an boolean (yes/no) value from the configuration.
|
|
Get an integer value from the configuration.
|
|
Get an floating point value from the configuration.
|
|
Get a string value from the configuration.
|
|
Must be called before any acfXXX function is used.
|
|
Open whatever configuration we can find.
|
|
May only be called after all ANYCFG_H handles have been closed.
|