source: Daodan/src/inifile.h@ 606

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

bsl thingy

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