aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-08 17:33:30 +0000
committerDavid Robillard <d@drobilla.net>2012-03-08 17:33:30 +0000
commit1725dfdf7c446449e64173ef41fd42465e2bae53 (patch)
treef85a9824aa495446a7b8191369d0bdc813d49d4b /serd/serd.h
parentf4365012b555699b916dbeec4d81425bf663579c (diff)
downloadserd-1725dfdf7c446449e64173ef41fd42465e2bae53.tar.gz
serd-1725dfdf7c446449e64173ef41fd42465e2bae53.tar.bz2
serd-1725dfdf7c446449e64173ef41fd42465e2bae53.zip
serd_node_new_uri_from_path => serd_node_new_file_uri.
git-svn-id: http://svn.drobilla.net/serd/trunk@331 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 3a2f9e3b..4388c3b4 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -422,15 +422,15 @@ serd_node_new_uri_from_string(const uint8_t* str,
SerdURI* out);
/**
- Create a new file URI node from a file system path.
+ Create a new file URI node from a file system path and optional hostname.
If @c path is relative, @c hostname is ignored.
If @c out is not NULL, it will be set to the parsed URI.
*/
SERD_API
SerdNode
-serd_node_new_uri_from_path(const uint8_t* path,
- const uint8_t* hostname,
- SerdURI* out);
+serd_node_new_file_uri(const uint8_t* path,
+ const uint8_t* hostname,
+ SerdURI* out);
/**
Create a new node by serialising @c uri into a new string.