summaryrefslogtreecommitdiffstats
path: root/sratom/sratom.h
diff options
context:
space:
mode:
Diffstat (limited to 'sratom/sratom.h')
-rw-r--r--sratom/sratom.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sratom/sratom.h b/sratom/sratom.h
index a86f67e..3e76954 100644
--- a/sratom/sratom.h
+++ b/sratom/sratom.h
@@ -1,5 +1,5 @@
/*
- Copyright 2012 David Robillard <http://drobilla.net>
+ Copyright 2012-2016 David Robillard <http://drobilla.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -101,6 +101,17 @@ void
sratom_free(Sratom* sratom);
/**
+ Set the environment for reading or writing Turtle.
+
+ This can be used to set namespace prefixes and a base URI for
+ sratom_to_turtle() and sratom_from_turtle().
+*/
+SRATOM_API
+void
+sratom_set_env(Sratom* sratom,
+ SerdEnv* env);
+
+/**
Set the sink(s) where sratom will write its output.
This must be called before calling sratom_write().