|
xrootd
|
#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>
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] = "" |
| struct timeval | abs_start_time |
| struct timeval | abs_stop_time |
| struct timezone | tz |
| #define CERR | ( | s | ) |
do { \ cerr_print s; \ } while (0)
Referenced by main().
| #define COUT | ( | s | ) |
do { \ cout_print s; \ } while (0)
Referenced by print_summary().
| #define XRDRM_VERSION "(C) 2004 SLAC INFN xrdrm 0.1" |
Referenced by main().
| void cerr_print | ( | const char * | format, |
| ... | |||
| ) |
| void cout_print | ( | const char * | format, |
| ... | |||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References abs_start_time, authz, authzfilename, XrdOucString::beginswith(), XrdOucString::c_str(), CERR, close, XrdClientAdmin::Connect(), DebugSetLevel, EnvGetLong, EnvGetString, EnvPutInt, EnvPutString, XrdClientUrlInfo::File, XrdOucString::find(), fstat(), XrdClientAbs::GetCurrentUrl(), gettimeofday(), XrdClientUrlInfo::GetUrl(), XrdClientUrlInfo::Host, Info, XrdClientUrlInfo::IsValid(), XrdClientDebug::kNODEBUG, 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(), XrdClientAdmin::Rm(), XrdClientAdmin::Stat(), stat(), STR_NPOS, summary, tz, unlink(), and XRDRM_VERSION.
| void print_summary | ( | const char * | del | ) |
References abs_start_time, abs_stop_time, XrdOucString::c_str(), COUT, XrdOucString::erase(), gettimeofday(), XrdOucString::rfind(), and tz.
| void PrintUsage | ( | ) |
| struct timeval abs_start_time |
| struct timeval abs_stop_time |
| char* authz = 0 |
Referenced by main(), XrdTokenAuthzOfsFile::open(), XrdTokenAuthzOfs::rem(), and XrdTokenAuthzOfs::stat().
| char authzfilename[4096] = "" |
Referenced by main().
| bool summary = false |
1.7.4