diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2013-02-10 19:24:24 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2013-02-10 19:24:24 +0100 |
| commit | b033b9068bc99c16025f7530dd3b282ec54d564b (patch) | |
| tree | 04bddab0ab9ccbfcb075f96b38285d83c2760c68 /src/block-parser.h | |
| parent | 84d9c637087ba1f2fd5dcaa7a74d61aa15848832 (diff) | |
| download | cataract-b033b9068bc99c16025f7530dd3b282ec54d564b.tar.xz | |
generators: Process image blocks through local block parsers
This change allows using local defines related to each item in the album
or index page.
Diffstat (limited to 'src/block-parser.h')
| -rw-r--r-- | src/block-parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block-parser.h b/src/block-parser.h index edf6dd2..f66aa08 100644 --- a/src/block-parser.h +++ b/src/block-parser.h @@ -78,7 +78,7 @@ gboolean block_parser_has_unused_data (BlockParser *parser, const gchar *key); void block_parser_set_as_used (BlockParser *parser, const gchar *key); /* - * block_parser_read_and_parse: reads input from the file and returns parsed line + * 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, * separated by "replace_key" placeholder as specified in registered blocks @@ -87,7 +87,7 @@ void block_parser_set_as_used (BlockParser *parser, const gchar *key); * - returns newly allocated string, caller is responsible for freeing * */ -gchar * block_parser_read_and_parse (BlockParser *parser, FILE *stream); +gchar * block_parser_process (BlockParser *parser, const gchar *buffer); G_END_DECLS |
