source: Daodan/src/Inifile_Reader.h@ 986

Last change on this file since 986 was 692, checked in by alloc, 12 years ago

Daodan: Lots of cleanups (mostly unnecessary includes removed, empty files deleted, case of filenames corrected)

File size: 370 bytes
RevLine 
[346]1#ifndef INIFILE_H
2#define INIFILE_H
3
[692]4#include "stdint.h"
[346]5
[692]6enum {
7 inifile_cantread = -20
8};
[346]9
10typedef bool (*inifile_callback)(char* section, bool newsection, char* name, char* value);
11
[451]12char* inifile_cleanstr(char* str);
13int64_t inifile_parseint(const char* str, bool issigned);
[352]14bool inifile_read(const char* filename, inifile_callback callback);
[346]15
16#endif
Note: See TracBrowser for help on using the repository browser.