ddc
|
Macros | |
#define | CURL_REDIR_POST_ALL -1L |
Functions | |
CCurlCache | ddcCurlCache (ddcCurlCacheCapacity, &ddcCurlMutex) |
void | ddcInitCurl (void) |
global initialization function (multiple calls should be safe) More... | |
Variables | |
pthread_mutex_t | ddcCurlMutex = PTHREAD_MUTEX_INITIALIZER |
global mutex for non-thread-safe curl operations (global init, lru-cached proxy) More... | |
static const int | ddcCurlCacheCapacity = 1024 |
int | ddcCurlInitialized = 0 |
sentinel to determine whether curl_global_init() has been called More... | |
#define CURL_REDIR_POST_ALL -1L |
Referenced by CCurl::redirects().
CCurlCache ddcCurlCache | ( | ddcCurlCacheCapacity | , |
& | ddcCurlMutex | ||
) |
void ddcInitCurl | ( | void | ) |
global initialization function (multiple calls should be safe)
References DDC_IFPTHREAD, and ddcCurlMutex.
Referenced by CCurl::CCurl(), and ddcInitGlobal().
pthread_mutex_t ddcCurlMutex = PTHREAD_MUTEX_INITIALIZER |
global mutex for non-thread-safe curl operations (global init, lru-cached proxy)
Referenced by ddcInitCurl().
|
static |
int ddcCurlInitialized = 0 |
sentinel to determine whether curl_global_init() has been called