summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-11-29 08:41:37 -0800
committerMichael Pavone <pavone@retrodev.com>2017-11-29 08:41:37 -0800
commit0b409a1a9ccc9d7d566a0a867eec4f6eb5a1f5e1 (patch)
treec639350be2b7a0db5aa3d4dae3c8ce2cce80a4aa /config.h
parentd064c9a6c6ea4aff356b5cde90f5afc92cb705f4 (diff)
Added code to persist config back to a file
--HG-- branch : nuklear_ui
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 9224606..5122577 100644
--- a/config.h
+++ b/config.h
@@ -10,6 +10,9 @@
tern_node *parse_config_file(char *config_path);
tern_node *parse_bundled_config(char *config_name);
tern_node *load_config();
+char *serialize_config(tern_node *config, uint32_t *size_out);
+uint8_t serialize_config_file(tern_node *config, char *path);
+void persist_config(tern_node *config);
char **get_extension_list(tern_node *config, uint32_t *num_exts_out);
#endif //CONFIG_H_