Defines | Functions | Variables
http2-download.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-download.c:

Go to the source code of this file.

Defines

#define CURLPIPE_MULTIPLEX   0
#define NUM_HANDLES   1000

Functions

static void dump (const char *text, int num, unsigned char *ptr, size_t size, char nohex)
static int hnd2num (CURL *hnd)
int main (int argc, char **argv)
static int my_trace (CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
static void setup (CURL *hnd, int num)

Variables

void * curl_hnd [NUM_HANDLES]
int num_transfers

Define Documentation

#define CURLPIPE_MULTIPLEX   0

Definition at line 41 of file http2-download.c.

#define NUM_HANDLES   1000

Definition at line 44 of file http2-download.c.


Function Documentation

static void dump ( const char *  text,
int  num,
unsigned char *  ptr,
size_t  size,
char  nohex 
) [static]

Definition at line 62 of file http2-download.c.

static int hnd2num ( CURL hnd) [static]

Definition at line 51 of file http2-download.c.

int main ( int  argc,
char **  argv 
)

Definition at line 184 of file http2-download.c.

static int my_trace ( CURL handle,
curl_infotype  type,
char *  data,
size_t  size,
void *  userp 
) [static]

Definition at line 109 of file http2-download.c.

static void setup ( CURL hnd,
int  num 
) [static]

Definition at line 147 of file http2-download.c.


Variable Documentation

Definition at line 46 of file http2-download.c.

Definition at line 47 of file http2-download.c.



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