aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/serd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/serd/serd.h')
-rw-r--r--include/serd/serd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index 7a280b64..52245077 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -1460,6 +1460,18 @@ const SerdNode* SERD_ALLOCATED
serd_nodes_parsed_uri(SerdNodes* SERD_NONNULL nodes, SerdURIView uri);
/**
+ Make a file URI node from a path and optional hostname.
+
+ A new node will be constructed with serd_node_construct_file_uri() if an
+ equivalent one is not already in the set.
+*/
+SERD_API
+const SerdNode* SERD_ALLOCATED
+serd_nodes_file_uri(SerdNodes* SERD_NONNULL nodes,
+ SerdStringView path,
+ SerdStringView hostname);
+
+/**
Make a literal node with optional datatype or language.
This can create complex literals with an associated datatype URI or language