blob: 111adbb96fdf4f655aef48b4c17cd4044147c407 [file] [log] [blame] [edit]
/*
* Author: Shoufu Zhao <shoufu.zhao@amlogic.com>
*/
#ifndef __INI_PROXY_H__
#define __INI_PROXY_H__
#ifdef __cplusplus
extern "C" {
#endif
void IniParserInit(void);
void IniParserUninit(void);
int IniParseFile(const char* filename);
int IniParseMem(unsigned char* file_buf);
int IniSetSaveFileName(const char* filename);
void IniParserFree(void);
void IniPrintAll(void);
const char* IniGetString(const char* section, const char* key, const char* def_value);
int IniSetString(const char *section, const char *key, const char *value);
int IniSaveToFile(const char *filename);
#ifdef __cplusplus
}
#endif
#endif //__INI_PROXY_H__