diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-08-14 23:58:16 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-08-14 23:58:16 +0200 |
commit | 3d0d122d46ff38c47adbe3d4960440aaefc5705c (patch) | |
tree | 29c451423a03d7b5b1520e0ced6ce9652166fed4 /src/storycode.h | |
parent | 2fd37a95bd5fe109a62917eca483b36a18a74777 (diff) |
First bits of StoryCode parser
Diffstat (limited to 'src/storycode.h')
-rw-r--r-- | src/storycode.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/storycode.h b/src/storycode.h index 6e106e3..240900d 100644 --- a/src/storycode.h +++ b/src/storycode.h @@ -27,8 +27,13 @@ #include <config.h> #endif +typedef struct _scblocklist SCBlockList; +typedef struct _scblocklistiterator SCBlockListIterator; -extern char *sc_get_final_font(const char *sc); -extern char *sc_get_final_text_colour(const char *sc); +char *sc_block_list_first(SCBlockList *bl, SCBlockListIterator **piter); +char *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); #endif /* STORYCODE_H */ |