aboutsummaryrefslogtreecommitdiff
path: root/redist/json_helpers.h
diff options
context:
space:
mode:
authorJoshua Allen <axlecrusher@gmail.com>2017-03-06 22:05:02 -0500
committerJoshua Allen <axlecrusher@gmail.com>2017-03-06 22:05:02 -0500
commit0ebe84be5824202aecfd87ac58005afa76b36be9 (patch)
tree4590bd233e8d7e205d69d7d7abbd71e6fac502b2 /redist/json_helpers.h
parent19d18fef008792e8918d4ded2dd7fa015bb2fedb (diff)
downloadlibsurvive-0ebe84be5824202aecfd87ac58005afa76b36be9.tar.gz
libsurvive-0ebe84be5824202aecfd87ac58005afa76b36be9.tar.bz2
Load strings from config files.
I need to finish the loading of numeric values and arrays.
Diffstat (limited to 'redist/json_helpers.h')
-rw-r--r--redist/json_helpers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/redist/json_helpers.h b/redist/json_helpers.h
index 8d6eb64..1670058 100644
--- a/redist/json_helpers.h
+++ b/redist/json_helpers.h
@@ -11,4 +11,10 @@ void json_write_uint32(FILE* f, const char* tag, uint32_t v);
void json_write_float(FILE* f, const char* tag, float v);
void json_write_str(FILE* f, const char* tag, const char* v);
+void json_load_file(const char* path);
+extern void (*json_begin_object)(char* tag);
+extern void (*json_end_object)();
+extern void (*json_tag_value)(char* tag, char** values, uint16_t count);
+
+
#endif \ No newline at end of file