libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
config_file.h File Reference

configuration file. More...

#include <gpac/tools.h>

Functions

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

Detailed Description

configuration file.

>