X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Fconfig.h;h=c4c0a178974e97cd66a35ba33fdbe5a6d7f32a47;hb=ca69c3e5a0ecf407c02dc85c6f3282ebb1efc5a2;hp=8fab6d4a540464adb801ef704c2f8ee409f923f5;hpb=c51bd2feb382b1d1f4bd8aaeaf128e04bd0e147b;p=libpicofe.git diff --git a/common/config.h b/common/config.h index 8fab6d4..c4c0a17 100644 --- a/common/config.h +++ b/common/config.h @@ -1,6 +1,16 @@ -#include + +#ifdef __cplusplus +extern "C" { +#endif int config_writesect(const char *fname, const char *section); int config_writelrom(const char *fname); int config_readsect(const char *fname, const char *section); +int config_readlrom(const char *fname); +int config_havesect(const char *fname, const char *section); +int config_get_var_val(void *file, char *line, int lsize, char **rvar, char **rval); + +#ifdef __cplusplus +} +#endif