diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-11-29 08:41:37 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-11-29 08:41:37 -0800 |
commit | 0b409a1a9ccc9d7d566a0a867eec4f6eb5a1f5e1 (patch) | |
tree | c639350be2b7a0db5aa3d4dae3c8ce2cce80a4aa /config.h | |
parent | d064c9a6c6ea4aff356b5cde90f5afc92cb705f4 (diff) |
Added code to persist config back to a file
--HG--
branch : nuklear_ui
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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_ |