source:
Daodan/src/inifile.h@
403
| Last change on this file since 403 was 352, checked in by , 16 years ago | |
|---|---|
| File size: 285 bytes | |
| Rev | Line | |
|---|---|---|
| [346] | 1 | #pragma once |
| 2 | #ifndef INIFILE_H | |
| 3 | #define INIFILE_H | |
| 4 | ||
| 5 | #include <stdbool.h> | |
| 6 | ||
| 7 | enum {inifile_cantread = -20}; | |
| 8 | ||
| 9 | typedef bool (*inifile_callback)(char* section, bool newsection, char* name, char* value); | |
| 10 | ||
| [352] | 11 | bool inifile_read(const char* filename, inifile_callback callback); |
| [346] | 12 | |
| 13 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
