aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index b88cb8f8..9eb4dda2 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -718,6 +718,16 @@ serd_env_set_prefix_from_strings(SerdEnv* env,
const uint8_t* uri);
/**
+ Set a term.
+*/
+SERD_API
+SerdStatus
+serd_env_set_term(SerdEnv* env,
+ const SerdNode* name,
+ const SerdNode* uri,
+ const SerdNode* datatype);
+
+/**
Qualify `uri` into a CURIE if possible.
*/
SERD_API
@@ -751,6 +761,17 @@ serd_env_expand_node(const SerdEnv* env,
const SerdNode* node);
/**
+ Expand `node`.
+*/
+SERD_API
+SerdStatus
+serd_env_expand_term(const SerdEnv* env,
+ const SerdNode* term,
+ SerdChunk* uri_prefix,
+ SerdChunk* uri_suffix,
+ const SerdNode** datatype);
+
+/**
Call `func` for each prefix defined in `env`.
*/
SERD_API