![]() |
libgpac
Documentation of the core library of GPAC
|
Include dependency graph for configfile.c:Data Structures | |
| struct | IniKey |
| struct | IniSection |
| struct | GF_Config |
Macros | |
| #define | MAX_INI_LINE 2046 |
| #define | FLUSH_EMPTY_LINES |
Functions | |
| static void | DelSection (IniSection *ptr) |
| static void | gf_cfg_clear (GF_Config *iniFile) |
| Clear the structure. | |
| GF_Err | gf_cfg_parse_config_file (GF_Config *tmp, const char *filePath, const char *file_name) |
| Parses the config file if any and clears the existing structure. | |
| GF_EXPORT GF_Config * | gf_cfg_force_new (const char *filePath, const char *file_name) |
| alternative configuration file constructor | |
| GF_EXPORT GF_Config * | gf_cfg_new (const char *filePath, const char *file_name) |
| configuration file constructor | |
| GF_EXPORT const char * | gf_cfg_get_filename (GF_Config *iniFile) |
| GF_EXPORT GF_Err | gf_cfg_save (GF_Config *iniFile) |
| configuration saving | |
| GF_EXPORT GF_Err | gf_cfg_discard_changes (GF_Config *iniFile) |
| GF_EXPORT void | gf_cfg_del (GF_Config *iniFile) |
| configuration file destructor | |
| const char * | gf_cfg_get_key_internal (GF_Config *iniFile, const char *secName, const char *keyName, Bool restricted_only) |
| GF_EXPORT const char * | gf_cfg_get_key (GF_Config *iniFile, const char *secName, const char *keyName) |
| key value query | |
| GF_Err | gf_cfg_set_key_internal (GF_Config *iniFile, const char *secName, const char *keyName, const char *keyValue, Bool is_restrict) |
| GF_EXPORT GF_Err | gf_cfg_set_key (GF_Config *iniFile, const char *secName, const char *keyName, const char *keyValue) |
| key value update | |
| GF_EXPORT u32 | gf_cfg_get_section_count (GF_Config *iniFile) |
| section count query | |
| GF_EXPORT const char * | gf_cfg_get_section_name (GF_Config *iniFile, u32 secIndex) |
| section name query | |
| GF_EXPORT u32 | gf_cfg_get_key_count (GF_Config *iniFile, const char *secName) |
| key count query | |
| GF_EXPORT const char * | gf_cfg_get_key_name (GF_Config *iniFile, const char *secName, u32 keyIndex) |
| key count query | |
| GF_EXPORT void | gf_cfg_del_section (GF_Config *iniFile, const char *secName) |
| section destrouction | |
| GF_Err | gf_cfg_set_filename (GF_Config *iniFile, const char *fileName) |
| struct IniKey |
| Data Fields | ||
|---|---|---|
| Bool | do_restrict | |
| char * | name | |
| char * | value | |
| struct __tag_config |
| #define MAX_INI_LINE 2046 |
| #define FLUSH_EMPTY_LINES |
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Clear the structure.
| iniFile | The structure to clear |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Err gf_cfg_parse_config_file | ( | GF_Config * | tmp, |
| const char * | filePath, | ||
| const char * | file_name | ||
| ) |
Parses the config file if any and clears the existing structure.
Here is the call graph for this function:
Here is the caller graph for this function:| const char * gf_cfg_get_key_internal | ( | GF_Config * | iniFile, |
| const char * | secName, | ||
| const char * | keyName, | ||
| Bool | restricted_only | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Err gf_cfg_set_key_internal | ( | GF_Config * | iniFile, |
| const char * | secName, | ||
| const char * | keyName, | ||
| const char * | keyValue, | ||
| Bool | is_restrict | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Err gf_cfg_set_filename | ( | GF_Config * | iniFile, |
| const char * | fileName | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function: