diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-08-30 23:35:43 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-08-30 23:35:43 +0200 |
commit | 29978f93c0dba6a6a2b164168650620589667fa3 (patch) | |
tree | da606510fdee26062c24e6f5c9a9473311d23a57 /src/storycode.h | |
parent | e0c198aa0745472082b77f1037e44a5250ac79e5 (diff) |
Add space in API for options and varying block names in an SCBlockList
Diffstat (limited to 'src/storycode.h')
-rw-r--r-- | src/storycode.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/storycode.h b/src/storycode.h index 240900d..6ba5e45 100644 --- a/src/storycode.h +++ b/src/storycode.h @@ -30,8 +30,16 @@ typedef struct _scblocklist SCBlockList; typedef struct _scblocklistiterator SCBlockListIterator; -char *sc_block_list_first(SCBlockList *bl, SCBlockListIterator **piter); -char *sc_block_list_next(SCBlockList *bl, SCBlockListIterator *iter); +struct scblock +{ + char *name; + char *options; + char *contents; +}; + +struct scblock *sc_block_list_first(SCBlockList *bl, + SCBlockListIterator **piter); +struct scblock *sc_block_list_next(SCBlockList *bl, SCBlockListIterator *iter); extern SCBlockList *sc_find_blocks(const char *sc, const char *blockname); extern void sc_block_list_free(SCBlockList *bl); |