LLCurl Class Reference

#include <llcurl.h>

List of all members.

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


Detailed Description

Definition at line 55 of file llcurl.h.


Member Typedef Documentation

typedef boost::intrusive_ptr<Responder> LLCurl::ResponderPtr

Definition at line 111 of file llcurl.h.


Member Function Documentation

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().

Here is the caller graph for this function:

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]

@ brief Get certificate authority file used to verify HTTPS certs.

Definition at line 127 of file llcurl.h.

References sCAFile.

static const std::string& LLCurl::getCAPath (  )  [inline, static]

@ brief Get certificate authority path used to verify HTTPS certs.

Definition at line 132 of file llcurl.h.

References sCAPath.

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCurl::cleanupClass (  )  [static]

@ brief Cleanup LLCurl class

Definition at line 1017 of file llcurl.cpp.

References NULL, and sSSLMutex.

Referenced by LLAppViewer::cleanup().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

unsigned long LLCurl::ssl_thread_id ( void   )  [static]

Definition at line 993 of file llcurl.cpp.

References LLThread::currentID().

Referenced by initClass().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

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().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:43:28 2008 for SecondLife by  doxygen 1.5.5