summaryrefslogtreecommitdiff
path: root/uclient-backend.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-23 00:29:18 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-03-23 00:29:18 +0100
commitf619ebe9d3343867bc8a8d5e98e6b81e645129e5 (patch)
tree77fe1f4050a813c9d3fa26a0afbae8ab411dd0e5 /uclient-backend.h
parent0e5604d1d1abf7b6fd82d95da31c7718925e11fc (diff)
downloaduclient-f619ebe9d3343867bc8a8d5e98e6b81e645129e5.tar.gz
add a utility function to detect redirects and handle them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient-backend.h')
-rw-r--r--uclient-backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/uclient-backend.h b/uclient-backend.h
index abbfbc6..fdebf26 100644
--- a/uclient-backend.h
+++ b/uclient-backend.h
@@ -31,5 +31,6 @@ struct uclient_url {
void uclient_backend_set_error(struct uclient *cl);
void uclient_backend_set_eof(struct uclient *cl);
void uclient_backend_reset_state(struct uclient *cl);
+struct uclient_url *uclient_get_url(const char *url_str, const char *auth_str);
#endif