Skip to content

Commit

Permalink
CURLMOPT_PUSHFUNCTION.3: fix argument types
Browse files Browse the repository at this point in the history
Closes #389
Closes #386
  • Loading branch information
Sam Roth authored and bagder committed Aug 19, 2015
1 parent 618dfd6 commit e67e71d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3
Expand Up @@ -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,
Expand Down

0 comments on commit e67e71d

Please sign in to comment.