Defines | Functions
http2-serverpush.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include <curl/curl.h>
Include dependency graph for http2-serverpush.c:

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 Documentation

#define OUTPUTFILE   "dl"

Definition at line 126 of file http2-serverpush.c.


Function Documentation

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.

static void setup ( CURL hnd) [static]

Definition at line 128 of file http2-serverpush.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:08