Go to the source code of this file.
Defines | |
#define | NUMT 4 |
#define | USE_OPENSSL /* or USE_GNUTLS accordingly */ |
Functions | |
static void | init_locks (void) |
static void | kill_locks (void) |
static void | lock_callback (int mode, int type, char *file, int line) |
int | main (int argc, char **argv) |
static void * | pull_one_url (void *url) |
static unsigned long | thread_id (void) |
Variables | |
static pthread_mutex_t * | lockarray |
const char *const | urls [] |
#define NUMT 4 |
Definition at line 43 of file threaded-ssl.c.
#define USE_OPENSSL /* or USE_GNUTLS accordingly */ |
Definition at line 37 of file threaded-ssl.c.
static void init_locks | ( | void | ) | [static] |
Definition at line 70 of file threaded-ssl.c.
static void kill_locks | ( | void | ) | [static] |
Definition at line 84 of file threaded-ssl.c.
static void lock_callback | ( | int | mode, |
int | type, | ||
char * | file, | ||
int | line | ||
) | [static] |
Definition at line 50 of file threaded-ssl.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 134 of file threaded-ssl.c.
static void* pull_one_url | ( | void * | url | ) | [static] |
Definition at line 118 of file threaded-ssl.c.
static unsigned long thread_id | ( | void | ) | [static] |
Definition at line 62 of file threaded-ssl.c.
pthread_mutex_t* lockarray [static] |
Definition at line 46 of file threaded-ssl.c.
const char* const urls[] |
{ "https://www.example.com/", "https://www2.example.com/", "https://www3.example.com/", "https://www4.example.com/", }
Definition at line 111 of file threaded-ssl.c.