Macros | 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.

Macros

#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

static void * curl_hnd [NUM_HANDLES]
 
static int num_transfers
 

Macro Definition 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 187 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 111 of file http2-download.c.

static void setup ( CURL hnd,
int  num 
)
static

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

Variable Documentation

void* curl_hnd[NUM_HANDLES]
static

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

int num_transfers
static

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



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17