Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdCommandLine.cc File Reference

#include "XrdClient/XrdClientUrlInfo.hh"
#include "XrdClient/XrdClient.hh"
#include "XrdClient/XrdClientAdmin.hh"
#include "XrdClient/XrdClientDebug.hh"
#include "XrdClient/XrdClientEnv.hh"
#include "XrdOuc/XrdOucTokenizer.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include <stdio.h>
#include <unistd.h>
#include <stdarg.h>
#include <sstream>
#include <string>
#include <signal.h>
#include <iomanip>

Include dependency graph for XrdCommandLine.cc:

Include dependency graph

Classes

struct  LookupItem

Defines

#define XRDCLI_VERSION   "(C) 2004-2010 by the Xrootd group. Xrootd version: "XrdVSTRING

Typedefs

typedef void(* CommandCallback )(XrdOucTokenizer &)

Functions

void CtrlCHandler (int sig)
void PrintUsage ()
void BuildPrompt (std::stringstream &s)
char * readline (const char *prompt)
void PrintHelp ()
bool CheckAnswer (XrdClientAbs *gencli)
void PrintLocateInfo (XrdClientLocate_Info &loc)
void executeExistDir (XrdOucTokenizer &tkzer)
void executeCd (XrdOucTokenizer &tkzer)
void executeEnvPutInt (XrdOucTokenizer &tkzer)
void executeEnvPutString (XrdOucTokenizer &tkzer)
void executeHelp (XrdOucTokenizer &)
void executeConnect (XrdOucTokenizer &tkzer)
void executeDirListRec (XrdOucTokenizer &tkzer)
void executeDirList (XrdOucTokenizer &tkzer)
void executeLocateSingle (XrdOucTokenizer &tkzer)
void executeLocateAll (XrdOucTokenizer &tkzer)
void executeStat (XrdOucTokenizer &tkzer)
void executeStatvfs (XrdOucTokenizer &tkzer)
void executeExistFile (XrdOucTokenizer &tkzer)
void executeGetCheckSum (XrdOucTokenizer &tkzer)
void executeIsFileOnline (XrdOucTokenizer &tkzer)
void executeMv (XrdOucTokenizer &tkzer)
void executeMkDir (XrdOucTokenizer &tkzer)
void executeChmod (XrdOucTokenizer &tkzer)
void executeTruncate (XrdOucTokenizer &tkzer)
void executeRm (XrdOucTokenizer &tkzer)
void executeRmDir (XrdOucTokenizer &tkzer)
void executePrepare (XrdOucTokenizer &tkzer)
void executeCat (XrdOucTokenizer &tkzer)
void executeCp (XrdOucTokenizer &tkzer)
void executeQuery (XrdOucTokenizer &tkzer)
void executeQuerySpace (XrdOucTokenizer &tkzer)
void executeDebug (XrdOucTokenizer &tkzer)
CommandCallback lookup (char *command)
int main (int argc, char **argv)

Variables

char * opaqueinfo = 0
kXR_unt16 xrd_wr_flags = kXR_async | kXR_mkpath | kXR_open_updt | kXR_new
char * initialhost = 0
XrdClient * genclient = 0
XrdClientAdmin * genadmin = 0
XrdOucString currentpath = "/"
XrdOucString cmdline_cmd
LookupItem lookupTable []

Define Documentation

#define XRDCLI_VERSION   "(C) 2004-2010 by the Xrootd group. Xrootd version: "XrdVSTRING
 


Typedef Documentation

typedef void(* CommandCallback)(XrdOucTokenizer &)
 


Function Documentation

void BuildPrompt (  std::stringstream &  s  ) 
 

bool CheckAnswer (  XrdClientAbs *  gencli  ) 
 

void CtrlCHandler (  int  sig  ) 
 

void executeCat (  XrdOucTokenizer &  tkzer  ) 
 

void executeCd (  XrdOucTokenizer &  tkzer  ) 
 

void executeChmod (  XrdOucTokenizer &  tkzer  ) 
 

void executeConnect (  XrdOucTokenizer &  tkzer  ) 
 

void executeCp (  XrdOucTokenizer &  tkzer  ) 
 

void executeDebug (  XrdOucTokenizer &  tkzer  ) 
 

void executeDirList (  XrdOucTokenizer &  tkzer  ) 
 

void executeDirListRec (  XrdOucTokenizer &  tkzer  ) 
 

void executeEnvPutInt (  XrdOucTokenizer &  tkzer  ) 
 

void executeEnvPutString (  XrdOucTokenizer &  tkzer  ) 
 

void executeExistDir (  XrdOucTokenizer &  tkzer  ) 
 

void executeExistFile (  XrdOucTokenizer &  tkzer  ) 
 

void executeGetCheckSum (  XrdOucTokenizer &  tkzer  ) 
 

void executeHelp (  XrdOucTokenizer &   ) 
 

void executeIsFileOnline (  XrdOucTokenizer &  tkzer  ) 
 

void executeLocateAll (  XrdOucTokenizer &  tkzer  ) 
 

void executeLocateSingle (  XrdOucTokenizer &  tkzer  ) 
 

void executeMkDir (  XrdOucTokenizer &  tkzer  ) 
 

void executeMv (  XrdOucTokenizer &  tkzer  ) 
 

void executePrepare (  XrdOucTokenizer &  tkzer  ) 
 

void executeQuery (  XrdOucTokenizer &  tkzer  ) 
 

void executeQuerySpace (  XrdOucTokenizer &  tkzer  ) 
 

void executeRm (  XrdOucTokenizer &  tkzer  ) 
 

void executeRmDir (  XrdOucTokenizer &  tkzer  ) 
 

void executeStat (  XrdOucTokenizer &  tkzer  ) 
 

void executeStatvfs (  XrdOucTokenizer &  tkzer  ) 
 

void executeTruncate (  XrdOucTokenizer &  tkzer  ) 
 

CommandCallback lookup (  char *  command  ) 
 

int main (  int  argc,
char **  argv
) 
 

void PrintHelp (   ) 
 

void PrintLocateInfo (  XrdClientLocate_Info &  loc  ) 
 

void PrintUsage (   ) 
 

char* readline (  const char *  prompt  ) 
 


Variable Documentation

XrdOucString cmdline_cmd
 

XrdOucString currentpath = "/"
 

XrdClientAdmin* genadmin = 0
 

XrdClient* genclient = 0
 

char* initialhost = 0
 

LookupItem lookupTable[]
 

char* opaqueinfo = 0
 

kXR_unt16 xrd_wr_flags = kXR_async | kXR_mkpath | kXR_open_updt | kXR_new
 


Generated on Sun Nov 6 13:40:04 2011 for xrootd by  doxygen 1.3.9.1