aboutsummaryrefslogtreecommitdiff
path: root/src/sc_parse.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-07-01 23:40:35 +0200
committerThomas White <taw@bitwiz.org.uk>2014-07-01 23:40:35 +0200
commit70bfc710f37bd3f134fa201299efa7bdf098a399 (patch)
treedfb3abae8447166829eadd733d14cdacdf54d518 /src/sc_parse.h
parent2c6cd610074fc9d0ed3050d4bfa39b5031de876a (diff)
Restore saving
Diffstat (limited to 'src/sc_parse.h')
-rw-r--r--src/sc_parse.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sc_parse.h b/src/sc_parse.h
index b774c26..44301df 100644
--- a/src/sc_parse.h
+++ b/src/sc_parse.h
@@ -27,6 +27,8 @@
#include <config.h>
#endif
+#include <stdio.h>
+
typedef struct _scblock SCBlock;
extern SCBlock *sc_parse(const char *sc);
@@ -48,4 +50,6 @@ extern void sc_delete_text(SCBlock *b1, int o1, SCBlock *b2, int o2);
extern void show_sc_blocks(const SCBlock *bl);
extern void show_sc_block(const SCBlock *bl, const char *prefix);
+extern void save_sc_block(FILE *fh, const SCBlock *bl);
+
#endif /* SC_PARSE_H */