#include <stdio.h>
#include <pthread.h>
#include <curl/curl.h>
#include <openssl/crypto.h>
Go to the source code of this file.
◆ NUMT
◆ USE_OPENSSL
#define USE_OPENSSL /* or USE_GNUTLS accordingly */ |
◆ init_locks()
static void init_locks |
( |
void |
| ) |
|
|
static |
◆ kill_locks()
static void kill_locks |
( |
void |
| ) |
|
|
static |
◆ lock_callback()
static void lock_callback |
( |
int |
mode, |
|
|
int |
type, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ pull_one_url()
static void* pull_one_url |
( |
void * |
url | ) |
|
|
static |
◆ thread_id()
static unsigned long thread_id |
( |
void |
| ) |
|
|
static |
◆ lockarray
pthread_mutex_t* lockarray |
|
static |
◆ urls
Initial value:= {
"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.