aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 583c6eec..0651d734 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -472,6 +472,15 @@ serd_env_set_prefix(SerdEnv* env,
const SerdNode* uri);
/**
+ Set a namespace prefix.
+*/
+SERD_API
+SerdStatus
+serd_env_set_prefix_from_strings(SerdEnv* env,
+ const uint8_t* name,
+ const uint8_t* uri);
+
+/**
Qualify @c uri into a CURIE if possible.
*/
SERD_API