ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Inifile_Reader.h
Revision: 692
Committed: Thu Mar 7 17:26:13 2013 UTC (12 years, 7 months ago) by alloc
Content type: text/x-chdr
File size: 370 byte(s)
Log Message:
Daodan: Lots of cleanups (mostly unnecessary includes removed, empty files deleted, case of filenames corrected)

File Contents

# Content
1 #ifndef INIFILE_H
2 #define INIFILE_H
3
4 #include "stdint.h"
5
6 enum {
7 inifile_cantread = -20
8 };
9
10 typedef bool (*inifile_callback)(char* section, bool newsection, char* name, char* value);
11
12 char* inifile_cleanstr(char* str);
13 int64_t inifile_parseint(const char* str, bool issigned);
14 bool inifile_read(const char* filename, inifile_callback callback);
15
16 #endif