source: Daodan/src/inifile.h@ 346

Last change on this file since 346 was 346, checked in by rossy, 15 years ago

parses daodan.ini to add language patches

File size: 279 bytes
Line 
1#pragma once
2#ifndef INIFILE_H
3#define INIFILE_H
4
5#include <stdbool.h>
6
7enum {inifile_cantread = -20};
8
9typedef bool (*inifile_callback)(char* section, bool newsection, char* name, char* value);
10
11bool inifile_read(char* filename, inifile_callback callback);
12
13#endif
Note: See TracBrowser for help on using the repository browser.