#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <curl/multi.h>
Go to the source code of this file.
Defines | |
#define | CNT sizeof(urls)/sizeof(char *) /* total number of transfers to do */ |
#define | MAX 10 /* number of simultaneous transfers */ |
Functions | |
static size_t | cb (char *d, size_t n, size_t l, void *p) |
static void | init (CURLM *cm, int i) |
int | main (void) |
Variables | |
static const char * | urls [] |
Definition at line 89 of file 10-at-a-time.c.
#define MAX 10 /* number of simultaneous transfers */ |
Definition at line 88 of file 10-at-a-time.c.
static size_t cb | ( | char * | d, |
size_t | n, | ||
size_t | l, | ||
void * | p | ||
) | [static] |
Definition at line 91 of file 10-at-a-time.c.
Definition at line 99 of file 10-at-a-time.c.
int main | ( | void | ) |
Definition at line 112 of file 10-at-a-time.c.
const char* urls[] [static] |
Definition at line 37 of file 10-at-a-time.c.