projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add uclient_disconnect() to force a disconnect without further callbacks
[project/uclient.git]
/
uclient.h
diff --git
a/uclient.h
b/uclient.h
index
fcd7769
..
ddc8b78
100644
(file)
--- 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);
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);
int uclient_read(struct uclient *cl, char *buf, int len);
int uclient_write(struct uclient *cl, char *buf, int len);