notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweak and refactor frontends, menu and config
[libpicofe.git]
/
common
/
config.h
diff --git
a/common/config.h
b/common/config.h
index
8fab6d4
..
c4c0a17
100644
(file)
--- a/
common/config.h
+++ b/
common/config.h
@@
-1,6
+1,16
@@
-#include <stdio.h>
+
+#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_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