summaryrefslogtreecommitdiff
path: root/src/ne_uri.h
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2006-01-01 23:42:03 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2006-01-01 23:42:03 +0000
commit23b2ce48a3869b663fe03566702ff87deeaa2be3 (patch)
tree4e1bc4e53bf75c5c151c2958b4dcbf1b03f2a19e /src/ne_uri.h
parent9b2a8180ba02d1d9f906620ea45c2aba8b3dd1a7 (diff)
downloadneon-23b2ce48a3869b663fe03566702ff87deeaa2be3.tar.gz
* src/ne_uri.h, src/ne_uri.c (ne_uri_resolve): Return target pointer.
* test/uri-tests.c (resolve): Test for such. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@823 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'src/ne_uri.h')
-rw-r--r--src/ne_uri.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ne_uri.h b/src/ne_uri.h
index acfd142..30c67fb 100644
--- a/src/ne_uri.h
+++ b/src/ne_uri.h
@@ -77,9 +77,9 @@ char *ne_uri_unparse(const ne_uri *uri);
* placing the resultant URI in '*result'. On return, all the 'char
* *' fields of *result are either set to NULL or point to
* malloc-allocated NUL-terminated strings. ne_uri_free can be used
- * to free the structure after use. */
-void ne_uri_resolve(const ne_uri *base, const ne_uri *relative,
- ne_uri *result);
+ * to free the structure after use. Returns 'result'. */
+ne_uri *ne_uri_resolve(const ne_uri *base, const ne_uri *relative,
+ ne_uri *result);
/* Compares URIs u1 and u2, returns non-zero if they are found to be
* non-equal. The sign of the return value is <0 if 'u1' is less than