Go to the source code of this file.
Functions | |
frdi_config * | frdiReadConfigFromFileName (char *file_name) |
int | frdiWriteConfigToFileName (char *file_name, frdi_config *config) |
frdi_config * | frdiConfigLoad (int argc, char **argv, char **argenv) |
char * | frdiConfigDisplay (frdi_config *config) |
int | frdiConfigGetInt (frdi_config *config, char *key) |
char * | frdiConfigGetChar (frdi_config *config, char *key) |
|
returns a null pointer on failure |
|
returns 0 on success, non-0 on failure |
|
Called straight from main() this is the only point where input arguments, environmental variables and the configuration file are accessed. |
|
Displays the contents of the configuration object |
|
returns the int value associated with key |
|
returns the char value associated with key returns NULL if no value has been associted with key or if config is in some way invalid, or if there is no memory |