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

Go to the source code of this file.

Classes

struct  input

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 size_t read_callback (void *ptr, size_t size, size_t nmemb, void *userp)
static void setup (CURL *hnd, int num, const char *upload)

Variables

void * curl_hnd [NUM_HANDLES]
struct input indata [NUM_HANDLES]
int num_transfers

Define Documentation

#define CURLPIPE_MULTIPLEX   0

Definition at line 43 of file http2-upload.c.

#define NUM_HANDLES   1000

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


Function Documentation

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

Definition at line 64 of file http2-upload.c.

static int hnd2num ( CURL hnd) [static]

Definition at line 53 of file http2-upload.c.

int main ( int  argc,
char **  argv 
)

Definition at line 240 of file http2-upload.c.

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

Definition at line 110 of file http2-upload.c.

static size_t read_callback ( void *  ptr,
size_t  size,
size_t  nmemb,
void *  userp 
) [static]

Definition at line 172 of file http2-upload.c.

static void setup ( CURL hnd,
int  num,
const char *  upload 
) [static]

Definition at line 182 of file http2-upload.c.


Variable Documentation

Definition at line 48 of file http2-upload.c.

Definition at line 180 of file http2-upload.c.

Definition at line 49 of file http2-upload.c.



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