diff options
author | David Robillard <d@drobilla.net> | 2012-03-09 23:51:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-09 23:51:52 +0000 |
commit | 90a703bad8e7df5c0b154c17dfb201dc708f6069 (patch) | |
tree | 3f1865e4d511815a246a237bfe13fda9adbc5770 /sord/sord.h | |
parent | 99082336abd05045e4f224fc2d07776648fbcc46 (diff) | |
download | sord-90a703bad8e7df5c0b154c17dfb201dc708f6069.tar.gz sord-90a703bad8e7df5c0b154c17dfb201dc708f6069.tar.bz2 sord-90a703bad8e7df5c0b154c17dfb201dc708f6069.zip |
Add sord_new_relative_uri().
git-svn-id: http://svn.drobilla.net/sord/trunk@204 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord/sord.h')
-rw-r--r-- | sord/sord.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sord/sord.h b/sord/sord.h index 7d3412e..0d71d99 100644 --- a/sord/sord.h +++ b/sord/sord.h @@ -161,7 +161,16 @@ sord_world_free(SordWorld* world); */ SORD_API SordNode* -sord_new_uri(SordWorld* world, const uint8_t* str); +sord_new_uri(SordWorld* world, const uint8_t* uri); + +/** + Get a URI node from a relative URI string. +*/ +SORD_API +SordNode* +sord_new_relative_uri(SordWorld* world, + const uint8_t* str, + const uint8_t* base_uri); /** Get a blank node from a string. |