diff options
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/serd/serd.h b/serd/serd.h index be819d55..0b1b8401 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -911,12 +911,11 @@ serd_reader_set_default_graph(SerdReader* reader, const SerdNode* graph); /** - Read a file at a given `uri`. + Prepare to read from the file at a local file `uri`. */ SERD_API SerdStatus -serd_reader_read_file(SerdReader* reader, - const char* uri); +serd_reader_start_file(SerdReader* reader, const char* uri, bool bulk); /** Prepare to read from a stream. @@ -968,14 +967,7 @@ serd_reader_read_document(SerdReader* reader); */ SERD_API SerdStatus -serd_reader_end_stream(SerdReader* reader); - -/** - Read `utf8`. -*/ -SERD_API -SerdStatus -serd_reader_read_string(SerdReader* reader, const char* utf8); +serd_reader_finish(SerdReader* reader); /** Free `reader`. |