#include "XrdClient/XrdClientUrlInfo.hh"#include "XrdSys/XrdSysPthread.hh"#include "XrdClient/XrdClient.hh"#include "XrdClient/XrdClientDebug.hh"#include "XrdClient/XrdClientEnv.hh"#include "XrdClient/XrdClientAdmin.hh"#include <sys/types.h>#include <sys/stat.h>#include <sys/time.h>#include <fcntl.h>#include <unistd.h>#include <stdarg.h>Go to the source code of this file.
Defines | |
| #define | COUT(s) |
| #define | CERR(s) |
| #define | XRDRM_VERSION "(C) 2004 SLAC INFN xrdrm 0.1" |
Functions | |
| void | cout_print (const char *format,...) |
| void | cerr_print (const char *format,...) |
| void | print_summary (const char *del) |
| void | PrintUsage () |
| int | main (int argc, char **argv) |
Variables | |
| bool | summary = false |
| char * | authz = 0 |
| char | authzfilename [4096] = "" |
| timeval | abs_start_time |
| timeval | abs_stop_time |
| timezone | tz |
| #define CERR | ( | s | ) |
| #define COUT | ( | s | ) |
| #define XRDRM_VERSION "(C) 2004 SLAC INFN xrdrm 0.1" |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 100 of file xrm.cc.
References abs_start_time, authz, authzfilename, XrdOucString::beginswith(), XrdOucString::c_str(), CERR, close, XrdClientAdmin::Connect(), DebugSetLevel, EnvGetLong, EnvGetString, EnvPutInt, EnvPutString, XrdOucString::find(), flags, fstat, XrdClientAbs::GetCurrentUrl(), getenv(), gettimeofday(), XrdClientUrlInfo::Host, i, Info, XrdClientUrlInfo::IsValid(), XrdClientDebug::kNODEBUG, malloc(), NAME_CONNECTDOMAINALLOW_RE, NAME_CONNECTDOMAINDENY_RE, NAME_CONNECTTIMEOUT, NAME_DEBUG, NAME_FIRSTCONNECTMAXCNT, NAME_REDIRDOMAINALLOW_RE, NAME_REDIRDOMAINDENY_RE, open, XrdClientUrlInfo::Port, print_summary(), PrintUsage(), read, retval, XrdClientAdmin::Rm(), size, stat, XrdClientAdmin::Stat(), STR_NPOS, strcpy(), summary, tz, u, unlink, and XRDRM_VERSION.
| void print_summary | ( | const char * | del | ) |
Definition at line 71 of file xrm.cc.
References abs_start_time, abs_stop_time, XrdOucString::c_str(), COUT, XrdOucString::erase(), gettimeofday(), XrdOucString::rfind(), and tz.
| struct timeval abs_start_time |
| struct timeval abs_stop_time |
| char* authz = 0 |
| char authzfilename[4096] = "" |
1.5.1