projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use adler32() from zlib instead of defining our own.
[git.git]
/
http.h
diff --git
a/http.h
b/http.h
index
ed4ea33
..
d6dc9d8
100644
(file)
--- a/
http.h
+++ b/
http.h
@@
-22,6
+22,12
@@
#define NO_CURL_EASY_DUPHANDLE
#endif
#define NO_CURL_EASY_DUPHANDLE
#endif
+struct slot_results
+{
+ CURLcode curl_result;
+ long http_code;
+};
+
struct active_request_slot
{
CURL *curl;
struct active_request_slot
{
CURL *curl;
@@
-29,6
+35,7
@@
struct active_request_slot
int in_use;
CURLcode curl_result;
long http_code;
int in_use;
CURLcode curl_result;
long http_code;
+ struct slot_results *results;
void *callback_data;
void (*callback_func)(void *data);
struct active_request_slot *next;
void *callback_data;
void (*callback_func)(void *data);
struct active_request_slot *next;