ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Inifile_Reader.h
(Generate patch)

Comparing:
Daodan/src/inifile.h (file contents), Revision 451 by rossy, Sun Jul 26 12:04:44 2009 UTC vs.
Daodan/src/Inifile_Reader.h (file contents), Revision 994 by alloc, Mon Apr 7 10:33:27 2014 UTC

# Line 1 | Line 1
1 #pragma once
1   #ifndef INIFILE_H
2   #define INIFILE_H
3  
4 < #include <stdbool.h>
6 < #include <stdint.h>
4 > #include "stdint.h"
5  
6 < enum {inifile_cantread = -20};
6 > typedef void (*inifile_callback)(const char* section, const char* name, const char* value);
7  
8 < 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);
8 > bool Inifile_Read(const char* filename, const inifile_callback callback);
9  
10   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)