diff options
Diffstat (limited to 'tools/console.h')
-rw-r--r-- | tools/console.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/console.h b/tools/console.h index 29b0a7df..a7e8423f 100644 --- a/tools/console.h +++ b/tools/console.h @@ -7,9 +7,12 @@ #include "serd/env.h" #include "serd/input_stream.h" #include "serd/output_stream.h" +#include "serd/reader.h" #include "serd/status.h" +#include "serd/string_view.h" #include "serd/syntax.h" #include "serd/world.h" +#include "serd/writer.h" #include <stdio.h> @@ -27,6 +30,16 @@ serd_choose_syntax(SerdWorld* world, SerdSyntax requested, const char* filename); +SerdStatus +serd_set_input_option(SerdStringView name, + SerdSyntax* syntax, + SerdReaderFlags* flags); + +SerdStatus +serd_set_output_option(SerdStringView name, + SerdSyntax* syntax, + SerdWriterFlags* flags); + SerdInputStream serd_open_tool_input(const char* filename); |