aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-08-08 20:45:55 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commited12fd8066ed47c1ee675a69dfed21751313f197 (patch)
tree4ef4ae0b70f2b281f8d8c3aefd35cb224e105ac3 /tools/console.h
parent816a9532765b2184c5f127494b95bdb9103bc960 (diff)
downloadserd-ed12fd8066ed47c1ee675a69dfed21751313f197.tar.gz
serd-ed12fd8066ed47c1ee675a69dfed21751313f197.tar.bz2
serd-ed12fd8066ed47c1ee675a69dfed21751313f197.zip
Factor out serd_choose_syntax()
Diffstat (limited to 'tools/console.h')
-rw-r--r--tools/console.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/console.h b/tools/console.h
index 9aeb87b4..273b40c9 100644
--- a/tools/console.h
+++ b/tools/console.h
@@ -8,6 +8,7 @@
#include "serd/input_stream.h"
#include "serd/output_stream.h"
#include "serd/status.h"
+#include "serd/syntax.h"
#include <stdio.h>
@@ -20,6 +21,9 @@ serd_print_version(const char* program);
SerdStatus
serd_set_base_uri_from_path(SerdEnv* env, const char* path);
+SerdSyntax
+serd_choose_syntax(SerdSyntax requested, const char* filename);
+
SerdInputStream
serd_open_tool_input(const char* filename);