#include "ROOT/RLogger.hxx"#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 "snprintf.h"#include <cerrno>#include <cstdlib>#include <unistd.h>#include <fcntl.h>#include <davix.hpp>#include <sstream>#include <string>#include <cstring>Namespaces | |
| namespace | ROOT |
| This file contains a specialised ROOT message handler to test for diagnostic in unit tests. | |
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 () |
| std::string | DiscoverToken () |
| bool | findTokenInFile (const std::string &token_file, std::string &output_token) |
| bool | isno (const char *str) |
| bool | normalizeToken (const std::string &input_token, std::string &output_token) |
| 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) |
| ROOT::Experimental::RLogChannel & | TDavixLogChannel () |
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 61 of file TDavixFile.cxx.
|
static |
Definition at line 478 of file TDavixFile.cxx.
|
static |
Definition at line 470 of file TDavixFile.cxx.
|
static |
Definition at line 450 of file TDavixFile.cxx.
|
static |
Definition at line 442 of file TDavixFile.cxx.
|
static |
Definition at line 464 of file TDavixFile.cxx.
|
static |
Definition at line 456 of file TDavixFile.cxx.
Definition at line 113 of file TDavixFile.cxx.
|
static |
Definition at line 129 of file TDavixFile.cxx.
| std::string DiscoverToken | ( | ) |
Definition at line 223 of file TDavixFile.cxx.
| bool findTokenInFile | ( | const std::string & | token_file, |
| std::string & | output_token | ||
| ) |
Definition at line 182 of file TDavixFile.cxx.
| bool isno | ( | const char * | str | ) |
Definition at line 92 of file TDavixFile.cxx.
| bool normalizeToken | ( | const std::string & | input_token, |
| std::string & | output_token | ||
| ) |
Definition at line 154 of file TDavixFile.cxx.
Definition at line 102 of file TDavixFile.cxx.
|
static |
Definition at line 324 of file TDavixFile.cxx.
|
static |
Definition at line 264 of file TDavixFile.cxx.
| ROOT::Experimental::RLogChannel & TDavixLogChannel | ( | ) |
Definition at line 84 of file TDavixFile.cxx.
| const char* ca_check_opt = "ca_check=no" |
Definition at line 68 of file TDavixFile.cxx.
|
static |
Definition at line 79 of file TDavixFile.cxx.
|
static |
Definition at line 80 of file TDavixFile.cxx.
| const char* grid_mode_opt = "grid_mode=yes" |
Definition at line 67 of file TDavixFile.cxx.
|
static |
Definition at line 57 of file TDavixFile.cxx.
| const char* open_mode_create = "CREATE" |
Definition at line 75 of file TDavixFile.cxx.
| const char* open_mode_new = "NEW" |
Definition at line 76 of file TDavixFile.cxx.
| const char* open_mode_read = "READ" |
Definition at line 74 of file TDavixFile.cxx.
| const char* open_mode_update = "UPDATE" |
Definition at line 77 of file TDavixFile.cxx.
| const char* s3_acckey_opt = "s3acckey=" |
Definition at line 70 of file TDavixFile.cxx.
| const char* s3_alternate_opt = "s3alternate=" |
Definition at line 73 of file TDavixFile.cxx.
| const char* s3_region_opt = "s3region=" |
Definition at line 71 of file TDavixFile.cxx.
| const char* s3_seckey_opt = "s3seckey=" |
Definition at line 69 of file TDavixFile.cxx.
| const char* s3_token_opt = "s3token=" |
Definition at line 72 of file TDavixFile.cxx.
|
static |
Definition at line 55 of file TDavixFile.cxx.