diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2016-09-19 23:23:30 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2016-09-19 23:23:30 +0200 |
| commit | a05d36f970a5c4723d2be3945076bce9347143ec (patch) | |
| tree | 94f5ca8fc2f479805edbc9252f09f5fbde9026ab /src/block-parser.h | |
| parent | aeefd1959aad3b80a0fe02083edbd5ebfb09510b (diff) | |
| download | cataract-a05d36f970a5c4723d2be3945076bce9347143ec.tar.xz | |
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.
Diffstat (limited to 'src/block-parser.h')
| -rw-r--r-- | src/block-parser.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -78,6 +78,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 * string after closing placeholder are returned on one line, |
