diff options
author | David Robillard <d@drobilla.net> | 2021-08-01 20:09:38 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-28 21:57:07 -0500 |
commit | dc01b7e301e91d0d7bfc358f569f4f3849471c52 (patch) | |
tree | 4819b060d20c79e38e1ccab373f3b84a85c0b074 /tools/console.h | |
parent | a8ffb15c4a0566fabb50c94524e881ba2036dd1a (diff) | |
download | serd-dc01b7e301e91d0d7bfc358f569f4f3849471c52.tar.gz serd-dc01b7e301e91d0d7bfc358f569f4f3849471c52.tar.bz2 serd-dc01b7e301e91d0d7bfc358f569f4f3849471c52.zip |
Collapse input and output options into a single flag
Diffstat (limited to 'tools/console.h')
-rw-r--r-- | tools/console.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/console.h b/tools/console.h index 31076b24..5d174f1e 100644 --- a/tools/console.h +++ b/tools/console.h @@ -24,6 +24,16 @@ serd_set_stream_utf8_mode(FILE* stream); int serd_print_version(const char* program); +SerdStatus +serd_set_input_option(SerdStringView name, + SerdSyntax* syntax, + SerdReaderFlags* flags); + +SerdStatus +serd_set_output_option(SerdStringView name, + SerdSyntax* syntax, + SerdWriterFlags* flags); + SerdByteSource* serd_open_input(const char* filename, size_t block_size); |