summaryrefslogtreecommitdiffstats
path: root/lib/url/url.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-03-18 16:48:19 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-04-29 13:55:32 +1000
commit6276a57e76cf22aac639236d4782b56e2e5b9d5e (patch)
treef76d19cc75601a07f13d3bec1f36e46e88707140 /lib/url/url.h
parent62c2616b474415a7f2efa38faa4b10dd70003fef (diff)
downloadtalos-petitboot-6276a57e76cf22aac639236d4782b56e2e5b9d5e.tar.gz
talos-petitboot-6276a57e76cf22aac639236d4782b56e2e5b9d5e.zip
lib/url: Add pb_join_url
Add a a function to join a string to a base URL Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/url/url.h')
-rw-r--r--lib/url/url.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url/url.h b/lib/url/url.h
index 3cb7cd8..40c1164 100644
--- a/lib/url/url.h
+++ b/lib/url/url.h
@@ -59,6 +59,7 @@ struct pb_url {
};
struct pb_url *pb_url_parse(void *ctx, const char *url_str);
+struct pb_url *pb_url_join(void *ctx, const struct pb_url *url, const char *s);
const char *pb_url_scheme_name(enum pb_url_scheme scheme);
OpenPOWER on IntegriCloud