projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uclient-http: end custom header lines with CRLF
[project/uclient.git]
/
uclient-backend.h
diff --git
a/uclient-backend.h
b/uclient-backend.h
index
4cba048
..
9ccc799
100644
(file)
--- a/
uclient-backend.h
+++ b/
uclient-backend.h
@@
-29,9
+29,10
@@
struct uclient_backend {
int (*connect)(struct uclient *cl);
int (*request)(struct uclient *cl);
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 (*read)(struct uclient *cl, char *buf, unsigned int len);
- int (*write)(struct uclient *cl, char *buf, unsigned int len);
+ int (*write)(struct uclient *cl, c
onst c
har *buf, unsigned int len);
};
void uclient_backend_set_error(struct uclient *cl, int code);
};
void uclient_backend_set_error(struct uclient *cl, int code);