X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=platform%2Fcommon%2Fconfig_file.h;fp=platform%2Fcommon%2Fconfig_file.h;h=c4c0a178974e97cd66a35ba33fdbe5a6d7f32a47;hb=39e6f9733a2680d97db891bec163bb91e96c20d9;hp=0000000000000000000000000000000000000000;hpb=df92fbd1f2d16f83b66a9941f7312fdfea2602ca;p=picodrive.git diff --git a/platform/common/config_file.h b/platform/common/config_file.h new file mode 100644 index 0000000..c4c0a17 --- /dev/null +++ b/platform/common/config_file.h @@ -0,0 +1,16 @@ + +#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 +