summaryrefslogtreecommitdiff
path: root/uclient-backend.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-backend.h
parent70a591290e6ad60da852bfacb75ab0eb0c1f09ab (diff)
downloaduclient-c2bfab5a8c892c890c6fa374319c30f1a1728888.tar.gz
expose struct uclient_url
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient-backend.h')
-rw-r--r--uclient-backend.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/uclient-backend.h b/uclient-backend.h
index fb1a788..4cba048 100644
--- a/uclient-backend.h
+++ b/uclient-backend.h
@@ -34,17 +34,6 @@ struct uclient_backend {
int (*write)(struct uclient *cl, char *buf, unsigned int len);
};
-struct uclient_url {
- const struct uclient_backend *backend;
- int prefix;
-
- const char *host;
- const char *port;
- const char *location;
-
- const char *auth;
-};
-
void uclient_backend_set_error(struct uclient *cl, int code);
void uclient_backend_set_eof(struct uclient *cl);
void uclient_backend_reset_state(struct uclient *cl);