#include "TDavixFile.h"
#include "TROOT.h"
#include "TSocket.h"
#include "Bytes.h"
#include "TError.h"
#include "TEnv.h"
#include "TBase64.h"
#include "TVirtualPerfStats.h"
#include "TDavixFileInternal.h"
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <davix.hpp>
#include <sstream>
#include <string>
#include <cstring>
Macros | |
#define | ENVPFX "Davix." |
Functions | |
template<typename TRequestParams = Davix::RequestParams> | |
static void | awsAlternate (...) |
template<typename TRequestParams = Davix::RequestParams> | |
static auto | awsAlternate (TRequestParams *parameters, bool option) -> decltype(parameters->setAwsAlternate(option), void()) |
template<typename TRequestParams = Davix::RequestParams> | |
static void | awsRegion (...) |
template<typename TRequestParams = Davix::RequestParams> | |
static auto | awsRegion (TRequestParams *parameters, const char *region) -> decltype(parameters->setAwsRegion(region), void()) |
template<typename TRequestParams = Davix::RequestParams> | |
static void | awsToken (...) |
template<typename TRequestParams = Davix::RequestParams> | |
static auto | awsToken (TRequestParams *parameters, const char *token) -> decltype(parameters->setAwsToken(token), void()) |
int | configure_open_flag (const std::string &str, int old_flag) |
static void | ConfigureDavixLogLevel () |
bool | isno (const char *str) |
bool | strToBool (const char *str, bool defvalue) |
static int | TDavixFile_http_authn_cert_X509 (void *userdata, const Davix::SessionInfo &info, Davix::X509Credential *cert, Davix::DavixError **err) |
static void | TDavixFile_http_get_ucert (std::string &ucert, std::string &ukey) |
Variables | |
const char * | ca_check_opt = "ca_check=no" |
static TMutex | createLock |
static Context * | davix_context_s = NULL |
const char * | grid_mode_opt = "grid_mode=yes" |
static const std::string | gUserAgent |
const char * | open_mode_create = "CREATE" |
const char * | open_mode_new = "NEW" |
const char * | open_mode_read = "READ" |
const char * | open_mode_update = "UPDATE" |
const char * | s3_acckey_opt = "s3acckey=" |
const char * | s3_alternate_opt = "s3alternate=" |
const char * | s3_region_opt = "s3region=" |
const char * | s3_seckey_opt = "s3seckey=" |
const char * | s3_token_opt = "s3token=" |
static const std::string | VERSION = "0.2.0" |
#define ENVPFX "Davix." |
Definition at line 60 of file TDavixFile.cxx.
|
static |
Definition at line 363 of file TDavixFile.cxx.
|
static |
Definition at line 355 of file TDavixFile.cxx.
|
static |
Definition at line 335 of file TDavixFile.cxx.
|
static |
Definition at line 327 of file TDavixFile.cxx.
|
static |
Definition at line 349 of file TDavixFile.cxx.
|
static |
Definition at line 341 of file TDavixFile.cxx.
Definition at line 105 of file TDavixFile.cxx.
|
static |
Definition at line 121 of file TDavixFile.cxx.
bool isno | ( | const char * | str | ) |
Definition at line 84 of file TDavixFile.cxx.
Definition at line 94 of file TDavixFile.cxx.
|
static |
Definition at line 209 of file TDavixFile.cxx.
|
static |
Definition at line 149 of file TDavixFile.cxx.
const char* ca_check_opt = "ca_check=no" |
Definition at line 67 of file TDavixFile.cxx.
|
static |
Definition at line 78 of file TDavixFile.cxx.
|
static |
Definition at line 79 of file TDavixFile.cxx.
const char* grid_mode_opt = "grid_mode=yes" |
Definition at line 66 of file TDavixFile.cxx.
|
static |
Definition at line 56 of file TDavixFile.cxx.
const char* open_mode_create = "CREATE" |
Definition at line 74 of file TDavixFile.cxx.
const char* open_mode_new = "NEW" |
Definition at line 75 of file TDavixFile.cxx.
const char* open_mode_read = "READ" |
Definition at line 73 of file TDavixFile.cxx.
const char* open_mode_update = "UPDATE" |
Definition at line 76 of file TDavixFile.cxx.
const char* s3_acckey_opt = "s3acckey=" |
Definition at line 69 of file TDavixFile.cxx.
const char* s3_alternate_opt = "s3alternate=" |
Definition at line 72 of file TDavixFile.cxx.
const char* s3_region_opt = "s3region=" |
Definition at line 70 of file TDavixFile.cxx.
const char* s3_seckey_opt = "s3seckey=" |
Definition at line 68 of file TDavixFile.cxx.
const char* s3_token_opt = "s3token=" |
Definition at line 71 of file TDavixFile.cxx.
|
static |
Definition at line 54 of file TDavixFile.cxx.