libgpac
Documentation of the core library of GPAC
config_file.h File Reference

configuration file. More...

#include <gpac/tools.h>
+ Include dependency graph for config_file.h:
+ This graph shows which files directly or indirectly include this file:

Typedefs

typedef struct __tag_config GF_Config
 

Functions

GF_Configgf_cfg_new (const char *filePath, const char *fileName)
 configuration file constructor More...
 
GF_Configgf_cfg_force_new (const char *filePath, const char *fileName)
 alternative configuration file constructor More...
 
void gf_cfg_del (GF_Config *cfgFile)
 configuration file destructor More...
 
void gf_cfg_remove (GF_Config *cfgFile)
 configuration file destructor More...
 
GF_Err gf_cfg_save (GF_Config *cfgFile)
 configuration saving More...
 
const char * gf_cfg_get_key (GF_Config *cfgFile, const char *secName, const char *keyName)
 key value query More...
 
GF_Err gf_cfg_set_key (GF_Config *cfgFile, const char *secName, const char *keyName, const char *keyValue)
 key value update More...
 
u32 gf_cfg_get_section_count (GF_Config *cfgFile)
 section count query More...
 
const char * gf_cfg_get_section_name (GF_Config *cfgFile, u32 secIndex)
 section name query More...
 
u32 gf_cfg_get_key_count (GF_Config *cfgFile, const char *secName)
 key count query More...
 
const char * gf_cfg_get_key_name (GF_Config *cfgFile, const char *secName, u32 keyIndex)
 key count query More...
 
void gf_cfg_del_section (GF_Config *cfgFile, const char *secName)
 section destrouction More...
 
const char * gf_cfg_get_filename (GF_Config *iniFile)
 
GF_Err gf_cfg_discard_changes (GF_Config *iniFile)
 

Detailed Description

>