diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-29 14:52:12 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-29 14:52:12 +0100 |
commit | 438ebb9ce2bfd5cf3ab940667029c27346dc5160 (patch) | |
tree | 6470987079c90334e6ca43a05e8de4eb462ceb14 /uclient.h | |
parent | 2b80c2689068258eab5e94f92a6d1e7b7550094b (diff) | |
download | uclient-438ebb9ce2bfd5cf3ab940667029c27346dc5160.tar.gz |
add support for passing in auth to uclient_set_url()
Diffstat (limited to 'uclient.h')
-rw-r--r-- | uclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |