diff options
Diffstat (limited to 'include/serd/uri.h')
-rw-r--r-- | include/serd/uri.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/serd/uri.h b/include/serd/uri.h index c978782f..efdf68aa 100644 --- a/include/serd/uri.h +++ b/include/serd/uri.h @@ -7,8 +7,8 @@ #include "serd/attributes.h" #include "serd/memory.h" #include "serd/stream.h" -#include "serd/string_view.h" #include "zix/attributes.h" +#include "zix/string_view.h" #include <stdbool.h> #include <stddef.h> @@ -40,12 +40,12 @@ SERD_BEGIN_DECLS number of up-references ("../") that must be prepended to the path. */ typedef struct { - SerdStringView scheme; ///< Scheme - SerdStringView authority; ///< Authority - SerdStringView path_prefix; ///< Path prefix for relative/resolved paths - SerdStringView path; ///< Path suffix - SerdStringView query; ///< Query - SerdStringView fragment; ///< Fragment + ZixStringView scheme; ///< Scheme + ZixStringView authority; ///< Authority + ZixStringView path_prefix; ///< Path prefix for relative/resolved paths + ZixStringView path; ///< Path suffix + ZixStringView query; ///< Query + ZixStringView fragment; ///< Fragment } SerdURIView; static const SerdURIView SERD_URI_NULL = @@ -173,8 +173,8 @@ serd_write_uri(SerdURIView uri, terminator, which is not written) */ SERD_API size_t -serd_write_file_uri(SerdStringView path, - SerdStringView hostname, +serd_write_file_uri(ZixStringView path, + ZixStringView hostname, SerdWriteFunc ZIX_NONNULL sink, void* ZIX_NONNULL stream); |