51extern const std::string 
VERSION;
 
   55#define ENVPFX "Davix." 
   73   SetTitle(
"WebDAV system administration");
 
   83   SetTitle(
"WebDAV system administration");
 
  106   DavixError *davixErr = NULL;
 
  107   if (((dir = 
d_ptr->
davixPosix->readdir(
static_cast<DAVIX_DIR *
>(dirp), &davixErr)) == NULL)
 
  108         && (davixErr != NULL)) {
 
  109      Error(
"DavixReaddir", 
"failed to readdir the directory: %s (%d)",
 
  110            davixErr->getErrMsg().c_str(), davixErr->getStatus());
 
  111      DavixError::clearError(&davixErr);
 
  113   return (dir) ? (dir->d_name) : NULL;
 
  120   DavixError *davixErr = NULL;
 
  123      Error(
"DavixOpendir", 
"failed to opendir the directory: %s (%d)",
 
  124            davixErr->getErrMsg().c_str(), davixErr->getStatus());
 
  125      DavixError::clearError(&davixErr);
 
  148   buf.
fMode = st.st_mode; 
 
  150   buf.
fUid = st.st_uid; 
 
  151   buf.
fGid = st.st_gid; 
 
  152   buf.
fSize = st.st_size; 
 
  172   DavixError *davixErr = NULL;
 
  179      Error(
"DavixLocate", 
"failed to Locate file: %s (%d)",
 
  180            davixErr->getErrMsg().c_str(), davixErr->getStatus());
 
  181      DavixError::clearError(&davixErr);
 
  184   if (vecRep.size() > 0) {
 
  185      endurl = vecRep[0].uri.getString().c_str();
 
  190      Info(
"DavixLocate", 
"Davix Locate %s to %s", path, endurl.
Data());
 
  199   DavixError *davixErr = NULL;
 
  202      Error(
"DavixMkdir", 
"failed to create the directory: %s (%d)",
 
  203            davixErr->getErrMsg().c_str(), davixErr->getStatus());
 
  204      DavixError::clearError(&davixErr);
 
  213   DavixError *davixErr = NULL;
 
  216      Error(
"DavixUnlink", 
"failed to unlink the file: %s (%d)",
 
  217            davixErr->getErrMsg().c_str(), davixErr->getStatus());
 
  218      DavixError::clearError(&davixErr);
 
const char * s3_seckey_opt
const std::string VERSION
const char * ca_check_opt
const char * s3_acckey_opt
const char * grid_mode_opt
const std::string gUserAgent
typedef void((*Func_t)())
Davix::RequestParams * davixParam
Davix::DavPosix * davixPosix
Int_t DavixStat(const char *url, struct stat *st)
Davix::Context * davixContext
void removeDird(void *fd)
virtual Int_t MakeDirectory(const char *dir)
Make a directory.
virtual void * OpenDirectory(const char *dir)
Open a directory. Returns 0 if directory does not exist.
virtual Int_t GetPathInfo(const char *path, FileStat_t &buf)
Get info about a file.
virtual void FreeDirectory(void *dirp)
Free a directory.
virtual const char * GetDirEntry(void *dirp)
Get a directory entry. Returns 0 if no more entries.
virtual Int_t Locate(const char *path, TString &endurl)
virtual Bool_t IsPathLocal(const char *path)
Returns TRUE if the url in 'path' points to the local file system.
virtual Bool_t ConsistentWith(const char *path, void *dirptr)
Check consistency of this helper with the one required by 'path' or 'dirptr'.
TDavixFileInternal * d_ptr
virtual int Unlink(const char *path)
Unlink, i.e.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
const char * Data() const
Abstract base class defining a generic interface to the underlying Operating System.