From a05d36f970a5c4723d2be3945076bce9347143ec Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Mon, 19 Sep 2016 23:23:30 +0200 Subject: block-parser: Clear processed data for further use This change will allow certain blocks to be present multiple times and processed independently within a single page. --- src/block-parser.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/block-parser.h') diff --git a/src/block-parser.h b/src/block-parser.h index 5d8b69c..c5a1d9e 100644 --- a/src/block-parser.h +++ b/src/block-parser.h @@ -77,6 +77,12 @@ gboolean block_parser_has_unused_data (BlockParser *parser, const gchar *key); */ void block_parser_set_as_used (BlockParser *parser, const gchar *key); +/* + * block_parser_clear_key_data: clear stored data block for the key + * + */ +void block_parser_clear_key_data (BlockParser *parser, const gchar *key); + /* * block_parser_process: parse input data * - if there's a multiline block, string before the opening placeholder and -- cgit v1.2.3