projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fetch: print the URL while connecting
[project/uclient.git]
/
uclient-backend.h
diff --git
a/uclient-backend.h
b/uclient-backend.h
index
4cba048
..
a5cf4f3
100644
(file)
--- a/
uclient-backend.h
+++ b/
uclient-backend.h
@@
-29,6
+29,7
@@
struct uclient_backend {
int (*connect)(struct uclient *cl);
int (*request)(struct uclient *cl);
+ void (*disconnect)(struct uclient *cl);
int (*read)(struct uclient *cl, char *buf, unsigned int len);
int (*write)(struct uclient *cl, char *buf, unsigned int len);