diff options
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 |
