gpac/config_file.h File Reference

configuration file functions. More...

#include <gpac/tools.h>

Typedefs

typedef struct __tag_config GF_Config

Functions

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

Detailed Description

>


Generated on 7 Jan 2014 for libgpac by  doxygen 1.6.1