diff options
Diffstat (limited to 'src/loadsave.h')
-rw-r--r-- | src/loadsave.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/loadsave.h b/src/loadsave.h index 981e0ab..90e2f0a 100644 --- a/src/loadsave.h +++ b/src/loadsave.h @@ -30,8 +30,17 @@ /* Forward declaration */ struct presentation; -/* Opaque structure */ -struct serializer; +/* Would be opaque if I could be bothered to write the constructor */ +struct serializer +{ + FILE *fh; + + char *stack[32]; + int stack_depth; + char *prefix; + int empty_set; + int blank_written; +}; extern void serialize_start(struct serializer *s, const char *id); extern void serialize_s(struct serializer *s, const char *key, const char *val); |