XrdFrmUtils.hh

Go to the documentation of this file.
00001 #ifndef __FRMUTILS__HH
00002 #define __FRMUTILS__HH
00003 /******************************************************************************/
00004 /*                                                                            */
00005 /*                        X r d F r m U t i l s . h h                         */
00006 /*                                                                            */
00007 /* (c) 2009 by the Board of Trustees of the Leland Stanford, Jr., University  */
00008 /*                            All Rights Reserved                             */
00009 /*   Produced by Andrew Hanushevsky for Stanford University under contract    */
00010 /*              DE-AC02-76-SFO0515 with the Department of Energy              */
00011 /******************************************************************************/
00012   
00013 //          $Id: XrdFrmUtils.hh 35287 2010-09-14 21:19:35Z ganis $
00014 
00015 #include <stdlib.h>
00016 #include <time.h>
00017 
00018 #include "XrdFrm/XrdFrmRequest.hh"
00019 
00020 class XrdFrmUtils
00021 {
00022 public:
00023 
00024 static       char  Ask(char dflt, const char *Msg1, const char *Msg2="",
00025                                   const char *Msg3="");
00026 
00027 static       int   chkURL(const char *Url);
00028 
00029 static       char *makePath(const char *iName, const char *Path, int Mode);
00030 
00031 static       char *makeQDir(const char *Path, int Mode);
00032 
00033 static       int   MapM2O(const char *Nop, const char *Pop);
00034 
00035 static       int   MapR2Q(char Opc, int *Flags=0);
00036 
00037 static       int   MapV2I(const char *Opc, XrdFrmRequest::Item &ICode);
00038 
00039 static       int   Unique(const char *lkfn, const char *myProg);
00040 
00041 static       int   Utime(const char *Path, time_t tVal);
00042 
00043                    XrdFrmUtils() {}
00044                   ~XrdFrmUtils() {}
00045 private:
00046 };
00047 #endif

Generated on Tue Jul 5 14:46:36 2011 for ROOT_528-00b_version by  doxygen 1.5.1