OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{S3Archive.cpp} Namespace Reference

Functions

void get_s3_parameter_from_env_if_unset_or_empty (std::string &param, const std::string &env_variable_name)
 

Function Documentation

void anonymous_namespace{S3Archive.cpp}::get_s3_parameter_from_env_if_unset_or_empty ( std::string &  param,
const std::string &  env_variable_name 
)

Definition at line 37 of file S3Archive.cpp.

38  {
39  char* env;
40  if (param.empty() && (0 != (env = getenv(env_variable_name.c_str())))) {
41  param = env;
42  }
43 }