GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
config_file.h File Reference

configuration file functions. More...

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

Functions

GF_Config * gf_cfg_init (const char *file, Bool *new_cfg)
 configuration file initialization More...
 
GF_Config * gf_cfg_new (const char *filePath, const char *fileName)
 configuration file constructor More...
 
GF_Config * gf_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...
 
const char * gf_cfg_get_ikey (GF_Config *cfgFile, const char *secName, const char *keyName)
 key value query ignoring case 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...
 
GF_Err gf_cfg_insert_key (GF_Config *cfgFile, const char *secName, const char *keyName, const char *keyValue, u32 index)
 key insertion More...
 
void gf_cfg_del_section (GF_Config *cfgFile, const char *secName)
 section destrouction More...
 
const char * gf_cfg_get_sub_key (GF_Config *cfgFile, const char *secName, const char *keyName, u32 sub_index)
 
char * gf_cfg_get_filename (GF_Config *iniFile)
 
GF_Err gf_cfg_set_filename (GF_Config *iniFile, const char *fileName)
 

Detailed Description

>