aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-08-02 11:35:26 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit816a9532765b2184c5f127494b95bdb9103bc960 (patch)
tree81195ad74ee61a6123ffd64fd1a5d9f111503dc6 /tools/console.h
parentd206d6020c23420078a8b2579f0274723b1b470a (diff)
downloadserd-816a9532765b2184c5f127494b95bdb9103bc960.tar.gz
serd-816a9532765b2184c5f127494b95bdb9103bc960.tar.bz2
serd-816a9532765b2184c5f127494b95bdb9103bc960.zip
Factor out opening output files
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 763ff215..9aeb87b4 100644
--- a/tools/console.h
+++ b/tools/console.h
@@ -6,6 +6,7 @@
#include "serd/env.h"
#include "serd/input_stream.h"
+#include "serd/output_stream.h"
#include "serd/status.h"
#include <stdio.h>
@@ -22,4 +23,7 @@ serd_set_base_uri_from_path(SerdEnv* env, const char* path);
SerdInputStream
serd_open_tool_input(const char* filename);
+SerdOutputStream
+serd_open_tool_output(const char* filename);
+
#endif // SERD_TOOLS_CONSOLE_H