summaryrefslogtreecommitdiff
path: root/uclient.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-04 14:21:11 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-05-04 14:21:11 +0200
commitc2bfab5a8c892c890c6fa374319c30f1a1728888 (patch)
tree6ff02104166b0bb9cb8ec4ae405736d9e3934b27 /uclient.h
parent70a591290e6ad60da852bfacb75ab0eb0c1f09ab (diff)
downloaduclient-c2bfab5a8c892c890c6fa374319c30f1a1728888.tar.gz
expose struct uclient_url
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.h')
-rw-r--r--uclient.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/uclient.h b/uclient.h
index 95b6d57..fcd7769 100644
--- a/uclient.h
+++ b/uclient.h
@@ -41,6 +41,17 @@ union uclient_addr {
struct sockaddr_in6 sin6;
};
+struct uclient_url {
+ const struct uclient_backend *backend;
+ int prefix;
+
+ const char *host;
+ const char *port;
+ const char *location;
+
+ const char *auth;
+};
+
struct uclient {
const struct uclient_backend *backend;
const struct uclient_cb *cb;