aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-13 20:00:25 +0100
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit456bdeef35ffbfbdad7609e8b8a4ef71372786fd (patch)
tree25fabaa4f361f66a2bac860f06722e7f51776cbc /tools/console.h
parentfc2114a10769349d38b3215bc95ded855a2be5b6 (diff)
downloadserd-456bdeef35ffbfbdad7609e8b8a4ef71372786fd.tar.gz
serd-456bdeef35ffbfbdad7609e8b8a4ef71372786fd.tar.bz2
serd-456bdeef35ffbfbdad7609e8b8a4ef71372786fd.zip
[WIP] Add extensible logging API
Diffstat (limited to 'tools/console.h')
-rw-r--r--tools/console.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/console.h b/tools/console.h
index 273b40c9..29b0a7df 100644
--- a/tools/console.h
+++ b/tools/console.h
@@ -9,6 +9,7 @@
#include "serd/output_stream.h"
#include "serd/status.h"
#include "serd/syntax.h"
+#include "serd/world.h"
#include <stdio.h>
@@ -22,7 +23,9 @@ SerdStatus
serd_set_base_uri_from_path(SerdEnv* env, const char* path);
SerdSyntax
-serd_choose_syntax(SerdSyntax requested, const char* filename);
+serd_choose_syntax(SerdWorld* world,
+ SerdSyntax requested,
+ const char* filename);
SerdInputStream
serd_open_tool_input(const char* filename);