summaryrefslogtreecommitdiff
path: root/uclient.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-04 19:54:22 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-05-04 19:55:13 +0200
commit29c798a52907b7ee28c8e001c99ceed65ebe5d39 (patch)
tree9a4c83a0e57a5dc8e69c3937e9ab0225c3346f5f /uclient.h
parentf9d9e776e6378bfe24737d6c4a7573f3842c7a9b (diff)
downloaduclient-29c798a52907b7ee28c8e001c99ceed65ebe5d39.tar.gz
add uclient_disconnect() to force a disconnect without further callbacks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.h')
-rw-r--r--uclient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/uclient.h b/uclient.h
index fcd7769..ddc8b78 100644
--- a/uclient.h
+++ b/uclient.h
@@ -82,6 +82,7 @@ void uclient_free(struct uclient *cl);
int uclient_set_url(struct uclient *cl, const char *url, const char *auth);
int uclient_connect(struct uclient *cl);
+void uclient_disconnect(struct uclient *cl);
int uclient_read(struct uclient *cl, char *buf, int len);
int uclient_write(struct uclient *cl, char *buf, int len);