From 6ac6d7448aa0a976e7347daf8b48d6e56216af85 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 5 May 2014 15:38:33 +0000 Subject: Fix use of lv2info -m and -p options to write plugin data. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5401 a436a847-0d15-0410-975c-d299462d15a1 --- lilv/lilv.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lilv') diff --git a/lilv/lilv.h b/lilv/lilv.h index bdf70dc..8c60132 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -118,6 +118,19 @@ LILV_API LilvNode* lilv_new_uri(LilvWorld* world, const char* uri); +/** + Create a new file URI value. + @param host Host name, or NULL. + @param path Path on host. + @return A new node that must be freed by caller. + + Relative paths are resolved against the current working directory. Note + that this may yield unexpected results if @p host is another machine. +*/ +LILV_API +LilvNode* +lilv_new_file_uri(LilvWorld* world, const char* host, const char* path); + /** Create a new string value (with no language). Returned value must be freed by caller with lilv_node_free. -- cgit v1.2.1