#include <llcurl.h>
Public Types | |
typedef boost::intrusive_ptr < Responder > | ResponderPtr |
Static Public Member Functions | |
static void | setCAFile (const std::string &file) |
static void | setCAPath (const std::string &path) |
static const std::string & | getCAFile () |
static const std::string & | getCAPath () |
static void | initClass () |
static void | cleanupClass () |
static std::string | strerror (CURLcode errorcode) |
static void | ssl_locking_callback (int mode, int type, const char *file, int line) |
static unsigned long | ssl_thread_id (void) |
Static Public Attributes | |
static std::vector< LLMutex * > | sSSLMutex |
Private Member Functions | |
LOG_CLASS (LLCurl) | |
Static Private Attributes | |
static std::string | sCAPath |
static std::string | sCAFile |
Classes | |
class | Easy |
class | Multi |
class | Responder |
struct | TransferInfo |
Definition at line 55 of file llcurl.h.
typedef boost::intrusive_ptr<Responder> LLCurl::ResponderPtr |
LLCurl::LOG_CLASS | ( | LLCurl | ) | [private] |
void LLCurl::setCAFile | ( | const std::string & | file | ) | [static] |
@ brief Set certificate authority file used to verify HTTPS certs.
Definition at line 99 of file llcurl.cpp.
References sCAFile.
Referenced by LLCrashLogger::gatherFiles(), and LLAppViewer::mainLoop().
void LLCurl::setCAPath | ( | const std::string & | path | ) | [static] |
@ brief Set certificate authority path used to verify HTTPS certs.
Definition at line 93 of file llcurl.cpp.
References sCAPath.
static const std::string& LLCurl::getCAFile | ( | ) | [inline, static] |
static const std::string& LLCurl::getCAPath | ( | ) | [inline, static] |
void LLCurl::initClass | ( | ) | [static] |
@ brief Initialize LLCurl class
Definition at line 999 of file llcurl.cpp.
References gAPRPoolp, i, S32, ssl_locking_callback(), ssl_thread_id(), and sSSLMutex.
Referenced by LLAppViewer::init().
void LLCurl::cleanupClass | ( | ) | [static] |
@ brief Cleanup LLCurl class
Definition at line 1017 of file llcurl.cpp.
References NULL, and sSSLMutex.
Referenced by LLAppViewer::cleanup().
std::string LLCurl::strerror | ( | CURLcode | errorcode | ) | [static] |
@ brief curl error code -> string
Definition at line 663 of file llcurl.cpp.
References llformat().
Referenced by LLURLRequest::process_impl(), and LLCurl::Easy::report().
void LLCurl::ssl_locking_callback | ( | int | mode, | |
int | type, | |||
const char * | file, | |||
int | line | |||
) | [static] |
Definition at line 980 of file llcurl.cpp.
References sSSLMutex.
Referenced by initClass().
unsigned long LLCurl::ssl_thread_id | ( | void | ) | [static] |
Definition at line 993 of file llcurl.cpp.
References LLThread::currentID().
Referenced by initClass().
std::vector< LLMutex * > LLCurl::sSSLMutex [static] |
Definition at line 150 of file llcurl.h.
Referenced by cleanupClass(), initClass(), and ssl_locking_callback().
std::string LLCurl::sCAPath [static, private] |
Definition at line 157 of file llcurl.h.
Referenced by getCAPath(), LLCurl::Easy::setCA(), and setCAPath().
std::string LLCurl::sCAFile [static, private] |
Definition at line 158 of file llcurl.h.
Referenced by getCAFile(), LLCurl::Easy::setCA(), and setCAFile().