diff options
author | David Robillard <d@drobilla.net> | 2021-08-02 11:56:54 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | d206d6020c23420078a8b2579f0274723b1b470a (patch) | |
tree | 2883efcdf9c17fa42d18862d565e4d9d6a3e6f7e /tools/console.h | |
parent | 4e1850852a74fe6904beabf793ea8d9915cab246 (diff) | |
download | serd-d206d6020c23420078a8b2579f0274723b1b470a.tar.gz serd-d206d6020c23420078a8b2579f0274723b1b470a.tar.bz2 serd-d206d6020c23420078a8b2579f0274723b1b470a.zip |
Factor out setting base URI from a path
Diffstat (limited to 'tools/console.h')
-rw-r--r-- | tools/console.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/console.h b/tools/console.h index ef0fb1d1..763ff215 100644 --- a/tools/console.h +++ b/tools/console.h @@ -4,7 +4,9 @@ #ifndef SERD_TOOLS_CONSOLE_H #define SERD_TOOLS_CONSOLE_H +#include "serd/env.h" #include "serd/input_stream.h" +#include "serd/status.h" #include <stdio.h> @@ -14,6 +16,9 @@ serd_set_stream_utf8_mode(FILE* stream); int serd_print_version(const char* program); +SerdStatus +serd_set_base_uri_from_path(SerdEnv* env, const char* path); + SerdInputStream serd_open_tool_input(const char* filename); |