Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/RawAPI/rawentn.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 /*********************************************************************
00017  * Copyright:
00018  *   GSI, Gesellschaft fuer Schwerionenforschung mbH
00019  *   Planckstr. 1
00020  *   D-64291 Darmstadt
00021  *   Germany
00022  * created 15.2.1996, Horst Goeringer
00023  *********************************************************************
00024  * rawentn.h
00025  *    entry definitions for client part of adsmcli client/server package
00026  *********************************************************************
00027  * 13. 4.1999, H.G.: mod. declaration of rawGetFileAttr
00028  * 31. 5.2001, H.G.: replace urmtopn by rconnect
00029  *  9. 1.2002, H.G.: created from rawent.h
00030  *                   rawGetLLName: pass object and delimiter as argument
00031  * 13. 2.2003, H.G.: mod arg list rawDelList
00032  * 14. 2.2003, H.G.: mod arg list rawCheckFilelist
00033  *********************************************************************
00034  */
00035 
00036 #ifdef _AIX
00037 unsigned long ielpst(unsigned long, unsigned long *);
00038 
00039 int rawCheckAuth( char *, char *,
00040                   char *, char *, int,
00041                   char **);
00042    /* check if client authorized for requested action */
00043 #endif
00044 
00045 int rawCheckFilelist( char **, char **, char *);
00046    /* remove objects already archived from file list */
00047 
00048 int rawCheckObjlist(int, char **, char **, char **);
00049    /* remove existing files from object and file list */
00050 
00051 int rawDelFile( int, srawComm *);
00052    /* delete object in archive */
00053 
00054 int rawDelList( int, srawDataMoverAttr *, srawComm *, char **, char **);
00055    /* delete list of objects in archive */
00056 
00057 int rawGetCmdParms(int , char **, char **);
00058    /* get all cmd parameters via array of char ptrs */
00059 
00060 #ifdef VMS
00061 unsigned long rawGetFileAttr(char *, int **);
00062    /* get file attributes (reclen, size in bytes) */
00063 
00064 int rawGetFilelist( char *, char **);
00065    /* get list of full file names from generic input */
00066 #else
00067 int rawGetFileAttr(char *, unsigned long *);
00068    /* get file attributes (size in bytes), return rc */
00069 
00070 int rawGetFilelist( char *, int, char **);
00071    /* get list of full file names from generic input */
00072 #endif
00073 
00074 char *rawGetFSName( char *);
00075    /* get file space name from user identification */
00076 
00077 char *rawGetFullFile(char *, char *);
00078    /* get full file name from generic input & ll name */
00079 
00080 char *rawGetHLName( char *);
00081    /* get high level object name from path      */
00082 
00083 int rawGetHostConn();
00084    /* get network connection type of client host */
00085 
00086 int rawGetLLName( char *, char *, char *);
00087    /* get low level object name from file name    */
00088 
00089 char *rawGetUserid();
00090    /* get user identification */
00091 
00092 int rawQueryFile( int, srawComm *, void **);
00093    /* query for single object in archive */
00094 
00095 void rawQueryPrint(srawObjAttr *, int);
00096    /* print query results for one object */
00097 
00098 int rawQueryString(srawObjAttr *, int, char *);
00099    /* print query results for one object */
00100 
00101 int rawRecvError( int, int, char **);
00102    /* receive error message */
00103 
00104 int rawRecvHead( int, char **);
00105    /* receive common buffer header */
00106 
00107 int rawRecvStatus( int, char **);
00108    /* receive common buffer header and error msg */
00109 
00110 int rawSendStatus( int, int, char *);
00111    /* send status buffer */
00112 
00113 int rawTapeFile( char *, char *, int, int *, unsigned long *);
00114    /* send status buffer */
00115 
00116 int rawTestFilePath( char *, char **, char **);
00117    /* verify file path, get tape drive name */
00118 
00119 #ifdef VMS
00120 int rawCheckDevice (char *, char **, char **);
00121    /* check device type of specified file */
00122 
00123 int rawGetTapeInfo( char *, char **, sTapeFileList **);
00124    /* get file names, sizes and buffer sizes from tape */
00125 
00126 int rawSyncFilelist( char *, sTapeFileList **, int);
00127    /* synchronize both filelist buffers */
00128 
00129 char *rawVMSName( char *, int);
00130    /* check if valid VMS name; if not change it to valid VMS name */
00131 
00132 #endif
00133 
00134 int rconnect( char *, int, int *, int *);
00135    /* open connection to specified server */
00136 
00137 
00138 
00139 
00140 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:10 2005 for Go4-v2.10-5 by doxygen1.2.15