aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-16 17:03:27 +0000
committerDavid Robillard <d@drobilla.net>2011-02-16 17:03:27 +0000
commit0e7dfee8bae6655b316f1d0cabbad7df4dba6105 (patch)
treecc568baf815586293145caa774ad443d8b4ff612 /src/serdi.c
parentebbaf807a95ad9fb80e0bfcfdab629a257c5836d (diff)
downloadserd-0e7dfee8bae6655b316f1d0cabbad7df4dba6105.tar.gz
serd-0e7dfee8bae6655b316f1d0cabbad7df4dba6105.tar.bz2
serd-0e7dfee8bae6655b316f1d0cabbad7df4dba6105.zip
Add SERD_STYLE_RESOLVED option for resolving (expanding) relative URIs in output.
Add serd_env_qualify and serd_env_foreach. git-svn-id: http://svn.drobilla.net/serd/trunk@101 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 5d7244b2..7736f773 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -237,6 +237,8 @@ main(int argc, char** argv)
? SERD_STYLE_ASCII
: SERD_STYLE_ABBREVIATED;
+ output_style |= SERD_STYLE_RESOLVED;
+
const SerdNode base_uri_node = { SERD_URI,
base_uri_n_bytes,
base_uri_n_bytes - 1,