|
xrootd
|
#include "XrdClient/XrdClientEnv.hh"#include "XrdClient/XrdCpWorkLst.hh"#include "XrdOuc/XrdOucErrInfo.hh"#include "XrdSys/XrdSysDir.hh"#include "XrdSys/XrdSysHeaders.hh"#include <sys/stat.h>#include <errno.h>#include <sstream>#include <unistd.h>
Functions | |
| void | PrintLastServerError (XrdClient *cli) |
| const char * | ServerError (XrdClient *cli) |
| bool | PedanticOpen4Write (XrdClient *cli, kXR_unt16 mode, kXR_unt16 options) |
| XrdOucString | AddSizeHint (const char *dst, off_t size) |
| XrdOucString AddSizeHint | ( | const char * | dst, |
| off_t | size | ||
| ) |
References EnvGetLong, XrdOucString::find(), NAME_XRDCP_SIZE_HINT, XrdOucString::str, and STR_NPOS.
Referenced by doCp_loc2xrd(), doCp_xrd2xrd(), and XrdCpWorkLst::SetDest().
References XrdOucString::c_str(), ServerResponseBody_Error::errnum, XrdClientUrlInfo::File, XrdClientAbs::GetCurrentUrl(), XrdClientUrlInfo::GetUrl(), kXR_delete, kXR_NotFound, XrdClientAbs::LastServerError(), XrdClient::Open(), and XrdClientAdmin::Rm().
Referenced by doCp_loc2xrd(), doCp_xrd2xrd(), and XrdCpWorkLst::SetDest().
| void PrintLastServerError | ( | XrdClient * | cli | ) |
References ServerResponseBody_Error::errmsg, ServerResponseBody_Error::errnum, and XrdClientAbs::LastServerError().
Referenced by doCp_loc2xrd(), doCp_xrd2loc(), doCp_xrd2xrd(), main(), XrdCpWorkLst::SetDest(), and XrdCpWorkLst::SetSrc().
| const char* ServerError | ( | XrdClient * | cli | ) |
References ServerResponseBody_Error::errmsg, and XrdClientAbs::LastServerError().
Referenced by cpFatal().
1.8.3.1