Classes | |
struct | AmzData |
class | CloudReader |
class | CloudWriter |
class | Module |
Functions | |
struct curl_slist * | BuildHeaderAmzS3v2 (const char *URL, const char *TCPPort, const char *PublicKey, struct AmzData *Data) |
struct AmzData * | ComputeDigestAmzS3v2 (char *operation, char *data_type, const char *target, const char *Secret, const char *ptr, long size) |
size_t | CurlWrite_CallbackFunc_StdString (void *contents, size_t size, size_t nmemb, std::string *s) |
void | eraseSubStr (std::string &Str, const std::string &toErase) |
PyObject * | initModule () |
char * | MD5Sum (const char *ptr, long size) |
Function Documentation
◆ BuildHeaderAmzS3v2()
struct curl_slist * Cloud::BuildHeaderAmzS3v2 | ( | const char * | URL, |
const char * | TCPPort, | ||
const char * | PublicKey, | ||
struct AmzData * | Data | ||
) |
◆ ComputeDigestAmzS3v2()
struct Cloud::AmzData * Cloud::ComputeDigestAmzS3v2 | ( | char * | operation, |
char * | data_type, | ||
const char * | target, | ||
const char * | Secret, | ||
const char * | ptr, | ||
long | size | ||
) |
References Base::base64_encode(), Cloud::AmzData::ContentType, Cloud::AmzData::dateFormatted, Cloud::AmzData::digest, Cloud::AmzData::MD5, and MD5Sum().
Referenced by Cloud::CloudReader::CloudReader(), Cloud::CloudWriter::CloudWriter(), Cloud::CloudWriter::createBucket(), Cloud::CloudReader::DownloadFile(), and Cloud::CloudWriter::pushCloud().
◆ CurlWrite_CallbackFunc_StdString()
size_t Cloud::CurlWrite_CallbackFunc_StdString | ( | void * | contents, |
size_t | size, | ||
size_t | nmemb, | ||
std::string * | s | ||
) |
◆ eraseSubStr()
void Cloud::eraseSubStr | ( | std::string & | Str, |
const std::string & | toErase | ||
) |
◆ initModule()
PyObject* Cloud::initModule | ( | ) |
◆ MD5Sum()
char * Cloud::MD5Sum | ( | const char * | ptr, |
long | size | ||
) |
References Base::base64_encode().
Referenced by ComputeDigestAmzS3v2().