rename config.c/h
[picodrive.git] / platform / common / config_file.h
diff --git a/platform/common/config_file.h b/platform/common/config_file.h
new file mode 100644 (file)
index 0000000..c4c0a17
--- /dev/null
@@ -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
+