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.h
diff --git
a/uclient.h
b/uclient.h
index
fcd7769
..
d5a0d5b
100644
(file)
--- a/
uclient.h
+++ b/
uclient.h
@@
-62,6
+62,7
@@
struct uclient {
void *priv;
bool eof;
void *priv;
bool eof;
+ bool data_eof;
int error_code;
int status_code;
struct blob_attr *meta;
int error_code;
int status_code;
struct blob_attr *meta;
@@
-82,6
+83,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);