aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-02 08:49:23 +0000
committerDavid Robillard <d@drobilla.net>2011-03-02 08:49:23 +0000
commitbb14fdecabb00dbda2740343f22ecb817dc52f47 (patch)
treefce60a5bb52ff4a770c7945a4f05f696dd771b1c /serd/serd.h
parent5b72a58a2f0dc020bee2bba6b3b19d0a278dfd21 (diff)
downloadserd-bb14fdecabb00dbda2740343f22ecb817dc52f47.tar.gz
serd-bb14fdecabb00dbda2740343f22ecb817dc52f47.tar.bz2
serd-bb14fdecabb00dbda2740343f22ecb817dc52f47.zip
Fix parsing several files/strings with the same parser.
Add serd_read_state_expand. git-svn-id: http://svn.drobilla.net/serd/trunk@114 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index a56ab971..56511b12 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -511,6 +511,16 @@ void
serd_read_state_free(SerdReadState state);
/**
+ Expand @a node to a full URI.
+
+ @param node A CURIE or URI node to expand and/or resolve.
+*/
+SERD_API
+SerdNode
+serd_read_state_expand(SerdReadState state,
+ const SerdNode* node);
+
+/**
Get the current base URI.
*/
SERD_API