2 * modified port of Cini project
4 * liukui,liukee2009@foxmail.com
13 #define SECTION_LEN 256
14 #define FIELDNAME_LEN 256
15 #define FIELDVALUE_LEN 256
17 #define FILE_SUCCESS 0
18 #define FILE_NO_FILE 1
20 int loadINI(char *filename); /* load the ini file */
21 int saveINI(char *filename); /* save to ini file */
23 void ReadString(char *SectionName,char *FieldName,char *FieldValue); /* read FieldValue of the FieldName */
24 void WriteString(char *SectionName,char *FieldName,char *FieldValue); /* write FieldValue to the FieldName */
31 #endif /* _INI_INCLUDE */