]> granicus.if.org Git - curl/commitdiff
CURLMOPT_PUSHFUNCTION.3: fix argument types
authorSam Roth <s-roth@onu.edu>
Tue, 18 Aug 2015 19:42:18 +0000 (14:42 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 19 Aug 2015 08:35:24 +0000 (10:35 +0200)
Closes #389
Closes #386

docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3

index d0468ec15ecff86651db440f554b56101fd3fc94..033f71a7225ac952feab98df89078a3ef9dffa58 100644 (file)
@@ -27,8 +27,8 @@ CURLMOPT_PUSHFUNCTION \- callback that approves or denies server pushes
 .nf
 #include <curl/curl.h>
 
-char *curl_pushheader_bynum(push_headers, int num);
-char *curl_pushheader_byname(push_headers, const char *name);
+char *curl_pushheader_bynum(struct curl_pushheaders *h, size_t num);
+char *curl_pushheader_byname(struct curl_pushheaders *h, const char *name);
 
 int curl_push_callback(CURL *parent,
                        CURL *easy,