#pragma once #ifndef INIFILE_H #define INIFILE_H #include enum {inifile_cantread = -20}; typedef bool (*inifile_callback)(char* section, bool newsection, char* name, char* value); bool inifile_read(char* filename, inifile_callback callback); #endif