Last change
on this file since 684 was 677, checked in by alloc, 12 years ago |
Daodan: Updated src to work with MinGW
|
File size:
400 bytes
|
Rev | Line | |
---|
[346] | 1 | #pragma once
|
---|
| 2 | #ifndef INIFILE_H
|
---|
| 3 | #define INIFILE_H
|
---|
| 4 |
|
---|
[677] | 5 | #include "bool.h"
|
---|
| 6 | //#include <stdint.h>
|
---|
[346] | 7 |
|
---|
| 8 | enum {inifile_cantread = -20};
|
---|
| 9 |
|
---|
| 10 | typedef bool (*inifile_callback)(char* section, bool newsection, char* name, char* value);
|
---|
| 11 |
|
---|
[451] | 12 | char* inifile_cleanstr(char* str);
|
---|
| 13 | int64_t inifile_parseint(const char* str, bool issigned);
|
---|
[352] | 14 | bool inifile_read(const char* filename, inifile_callback callback);
|
---|
[346] | 15 |
|
---|
| 16 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.