#include <unistd.h>#include <ctype.h>#include <errno.h>#include <signal.h>#include <stdlib.h>#include <string.h>#include <strings.h>#include <stdio.h>#include <sys/param.h>#include "XrdFrm/XrdFrmAdmin.hh"#include "XrdFrm/XrdFrmConfig.hh"#include "XrdFrm/XrdFrmTrace.hh"#include "XrdNet/XrdNetOpts.hh"#include "XrdNet/XrdNetSocket.hh"#include "XrdOuc/XrdOucTokenizer.hh"#include "XrdSys/XrdSysError.hh"#include "XrdSys/XrdSysHeaders.hh"#include "XrdSys/XrdSysLogger.hh"
Functions | |
| char * | readline (const char *prompt) |
| void | add_history (const char *cLine) |
| void | stifle_history (int hnum) |
| int | main (int argc, char *argv[]) |
| int | mainConfig () |
Variables | |
| const char * | XrdFrmAdminMainCVSID = "$Id: XrdFrmAdminMain.cc,v 1.3 2009/06/04 03:35:05 abh Exp $" |
| static const char * | XrdFrmOpts = "c:dhn:v" |
| static const char * | XrdFrmUsage = " [-c <cfgfile>] [-d] [-h] [-n name] [-v] [help | cmd & opts]\n" |
| XrdSysError XrdFrm::Say & | Logger |
| XrdOucTrace XrdFrm::Trace & | Say |
| XrdOucTrace * | XrdXrootdTrace |
| void add_history | ( | const char * | cLine | ) |
Referenced by main().
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
References add_history(), XrdFrm::Admin, XrdOucTokenizer::Attach(), XrdFrm::Config, XrdFrmConfig::Configure(), XrdOucTokenizer::GetLine(), XrdOucTokenizer::GetToken(), mainConfig(), XrdFrmConfig::nextArg, XrdFrmAdmin::Quit(), readline(), XrdFrm::Say, XrdFrmAdmin::setArgs(), stifle_history(), XrdFrmAdmin::xeqArgs(), and XrdXrootdTrace.
| int mainConfig | ( | ) |
References XrdFrmConfig::AdminPath, XrdFrmConfig::c2sFN, XrdFrm::Config, rindex, XrdFrm::Say, and XrdNetSocket::socketAddr().
Referenced by main().
| char* readline | ( | const char * | prompt | ) |
| void stifle_history | ( | int | hnum | ) |
Referenced by main().
| const char* XrdFrmAdminMainCVSID = "$Id: XrdFrmAdminMain.cc,v 1.3 2009/06/04 03:35:05 abh Exp $" |
const char* XrdFrmOpts = "c:dhn:v" [static] |
const char* XrdFrmUsage = " [-c <cfgfile>] [-d] [-h] [-n name] [-v] [help | cmd & opts]\n" [static] |
Referenced by main().
1.7.1