| Revision: | 346 | 
| Committed: | Tue Jun 9 12:00:41 2009 UTC (16 years, 4 months ago) by rossy | 
| Content type: | text/x-chdr | 
| Original Path: | Daodan/src/inifile.h | 
| File size: | 279 byte(s) | 
| Log Message: | parses daodan.ini to add language patches | 
| # | Content | 
|---|---|
| 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 | |
| 11 | bool inifile_read(char* filename, inifile_callback callback); | 
| 12 | |
| 13 | #endif |