diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-04 19:54:22 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-04 19:55:13 +0200 |
commit | 29c798a52907b7ee28c8e001c99ceed65ebe5d39 (patch) | |
tree | 9a4c83a0e57a5dc8e69c3937e9ab0225c3346f5f /uclient.h | |
parent | f9d9e776e6378bfe24737d6c4a7573f3842c7a9b (diff) | |
download | uclient-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |