summaryrefslogtreecommitdiff
path: root/uclient.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-29 14:52:12 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-03-29 14:52:12 +0100
commit438ebb9ce2bfd5cf3ab940667029c27346dc5160 (patch)
tree6470987079c90334e6ca43a05e8de4eb462ceb14 /uclient.h
parent2b80c2689068258eab5e94f92a6d1e7b7550094b (diff)
downloaduclient-438ebb9ce2bfd5cf3ab940667029c27346dc5160.tar.gz
add support for passing in auth to uclient_set_url()
Diffstat (limited to 'uclient.h')
-rw-r--r--uclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/uclient.h b/uclient.h
index 3520473..e8214c2 100644
--- a/uclient.h
+++ b/uclient.h
@@ -58,7 +58,7 @@ struct uclient_cb {
struct uclient *uclient_new(const char *url, const char *auth_str, const struct uclient_cb *cb);
void uclient_free(struct uclient *cl);
-int uclient_set_url(struct uclient *cl, const char *url_str);
+int uclient_set_url(struct uclient *cl, const char *url, const char *auth);
int uclient_connect(struct uclient *cl);
int uclient_read(struct uclient *cl, char *buf, int len);