#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/time.h>#include <unistd.h>#include <curl/curl.h>
Go to the source code of this file.
Defines | |
| #define | OUTPUTFILE "dl" |
Functions | |
| static void | dump (const char *text, unsigned char *ptr, size_t size, char nohex) |
| int | main (void) |
| static int | my_trace (CURL *handle, curl_infotype type, char *data, size_t size, void *userp) |
| static int | server_push_callback (CURL *parent, CURL *easy, size_t num_headers, struct curl_pushheaders *headers, void *userp) |
| static void | setup (CURL *hnd) |
| #define OUTPUTFILE "dl" |
Definition at line 126 of file http2-serverpush.c.
| static void dump | ( | const char * | text, |
| unsigned char * | ptr, | ||
| size_t | size, | ||
| char | nohex | ||
| ) | [static] |
Definition at line 42 of file http2-serverpush.c.
| int main | ( | void | ) |
Definition at line 201 of file http2-serverpush.c.
| static int my_trace | ( | CURL * | handle, |
| curl_infotype | type, | ||
| char * | data, | ||
| size_t | size, | ||
| void * | userp | ||
| ) | [static] |
Definition at line 89 of file http2-serverpush.c.
| static int server_push_callback | ( | CURL * | parent, |
| CURL * | easy, | ||
| size_t | num_headers, | ||
| struct curl_pushheaders * | headers, | ||
| void * | userp | ||
| ) | [static] |
Definition at line 157 of file http2-serverpush.c.
Definition at line 128 of file http2-serverpush.c.