diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-04 14:21:11 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-04 14:21:11 +0200 |
commit | c2bfab5a8c892c890c6fa374319c30f1a1728888 (patch) | |
tree | 6ff02104166b0bb9cb8ec4ae405736d9e3934b27 /uclient.h | |
parent | 70a591290e6ad60da852bfacb75ab0eb0c1f09ab (diff) | |
download | uclient-c2bfab5a8c892c890c6fa374319c30f1a1728888.tar.gz |
expose struct uclient_url
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.h')
-rw-r--r-- | uclient.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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; |