aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-30 17:31:10 +0200
committerDavid Robillard <d@drobilla.net>2019-04-13 19:15:32 +0200
commitbc46da00532dd8896c1bddb3b1f279811b25d4a1 (patch)
tree246777739a66afbb3d40537e0aa3a6529fec5a79 /serd
parent5de7dc6ab43b15d01937364218862dc174343b31 (diff)
downloadserd-bc46da00532dd8896c1bddb3b1f279811b25d4a1.tar.gz
serd-bc46da00532dd8896c1bddb3b1f279811b25d4a1.tar.bz2
serd-bc46da00532dd8896c1bddb3b1f279811b25d4a1.zip
Add serd_env_copy() and serd_env_equals()
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index bc533b5e..4fc2dc63 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -900,6 +900,20 @@ SerdEnv*
serd_env_new(const SerdNode* base_uri);
/**
+ Copy an environment.
+*/
+SERD_API
+SerdEnv*
+serd_env_copy(const SerdEnv* env);
+
+/**
+ Return true iff `a` is equal to `b`.
+*/
+SERD_API
+bool
+serd_env_equals(const SerdEnv* a, const SerdEnv* b);
+
+/**
Free `ns`.
*/
SERD_API