summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-06-01 11:45:52 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-06-24 23:44:42 +0200
commitea7134ac874a66107e54ff93657ac565cf2ec4aa (patch)
tree72f0b2d2b5aa7158197449ef46c1cb122e010476 /include
parent70191958b5db1814e13ef90856a9f70a5186e733 (diff)
downloadcurl-ea7134ac874a66107e54ff93657ac565cf2ec4aa.tar.gz
http2: initial implementation of the push callback
Diffstat (limited to 'include')
-rw-r--r--include/curl/multi.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h
index ed3a3a793..5b462adc8 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -302,10 +302,14 @@ struct curl_headerpair {
};
struct curl_pushheaders; /* forward declaration only */
+struct curl_headerpair *curl_pushheader_bynum(struct curl_pushheaders *h,
+ int num);
+struct curl_headerpair *curl_pushheader_byname(struct curl_pushheaders *h,
+ char *name);
typedef int (*curl_push_callback)(CURL *parent,
CURL *easy,
- int num_headers,
+ size_t num_headers,
struct curl_pushheaders *headers,
void *userp);