GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
rawentn.h
Go to the documentation of this file.
1/*********************************************************************
2 * Copyright:
3 * GSI, Gesellschaft fuer Schwerionenforschung mbH
4 * Planckstr. 1
5 * D-64291 Darmstadt
6 * Germany
7 * created 15.2.1996, Horst Goeringer
8 *********************************************************************
9 * rawentn.h
10 * entry definitions for client part of adsmcli client/server package
11 *********************************************************************
12 * 13. 4.1999, H.G.: mod. declaration of rawGetFileAttr
13 * 31. 5.2001, H.G.: replace urmtopn by rconnect
14 * 9. 1.2002, H.G.: created from rawent.h
15 * rawGetLLName: pass object and delimiter as argument
16 * 13. 2.2003, H.G.: mod arg list rawDelList
17 * 14. 2.2003, H.G.: mod arg list rawCheckFilelist
18 * 25.11.2004, H.G.: rawQueryFile: add new arg no. 2
19 * 7.12.2006, H.G.: mod arg list rawDelList
20 * 5.11.2008, H.G.: mod arg lists rawRecvError, rawRecvHead,
21 * rawRecvStatus for (char ** -> char *)
22 * 11.11.2008, H.G.: rawGetLLName: 'const char' for delimiter
23 * 18.12.2008, H.G.: rawCheckObjlist: additional argument (int)
24 * 15. 6.2009, H.G.: rawSortValues: new entry
25 * 22. 6.2008, H.G.: replace long->int if 64bit client (ifdef SYSTEM64)
26 * 30.11.2009, H.G.: rawCheckFilelist: add 'char *' (archive name)
27 * 11. 2.2010, H.G.: rename rawTestFilePath -> rawCheckClientFile
28 * 22. 2.2010, H.G.: add rawGetPathName
29 * 26. 2.2010, H.G.: rawQueryString: add parameter (len output string)
30 * 23. 8.2010, H.G.: remove SYSTEM64 flag: allow "long" in 64 bit OS
31 *********************************************************************
32 */
33
34#ifdef _AIX
35unsigned long ielpst(unsigned long, unsigned long *);
36
37int rawCheckAuth( char *, char *,
38 char *, char *, int,
39 char *);
40 /* check if client authorized for requested action */
41#endif
42
43int rawCheckFilelist( char **, char **, char *, char *);
44 /* remove objects already archived from file list */
45
46int rawCheckObjlist(int, int, char **, char **, char **);
47 /* compress and sort entries in object and file list */
48
49int rawDelFile( int, srawComm *);
50 /* delete object in archive */
51
52int rawDelList( int, int, srawDataMoverAttr *, srawComm *,
53 char **, char **);
54 /* delete list of objects in archive */
55
56int rawGetCmdParms(int , char **, char **);
57 /* get all cmd parameters via array of char ptrs */
58
59#ifdef VMS
60unsigned long rawGetFileAttr(char *, int **);
61 /* get file attributes (reclen, size in bytes) */
62
63int rawGetFilelist( char *, char **);
64 /* get list of full file names from generic input */
65#else /* Unix */
66
67int rawGetFileAttr(char *, unsigned long *);
68 /* get file attributes (size in bytes), return rc */
69
70int rawGetFilelist( char *, int, char **);
71 /* get list of full file names from generic input */
72#endif /* Unix */
73
74int rawGetFileSize( char *, unsigned long *, unsigned int *);
75 /* get list of full file names from generic input */
76
77char *rawGetFSName( char *);
78 /* get file space name from user identification */
79
80char *rawGetFullFile(char *, char *);
81 /* get full file name from generic input & ll name */
82
83char *rawGetHLName( char *);
84 /* get high level object name from path */
85
86int rawGetHostConn();
87 /* get network connection type of client host */
88
89int rawGetLLName( char *, const char *, char *);
90 /* get low level object name from file name */
91
92char *rawGetPathName( char *);
93 /* get path name from high level object name */
94
95char *rawGetUserid();
96 /* get user identification */
97
98int rawQueryFile( int, int, srawComm *, void **);
99 /* query for single object in archive */
100
101void rawQueryPrint(srawObjAttr *, int);
102 /* print query results for one object */
103
104int rawQueryString(srawObjAttr *, int, int, char *);
105 /* print query results for one object */
106
107int rawRecvError( int, int, char *);
108 /* receive error message */
109
110int rawRecvHead( int, char *);
111 /* receive common buffer header */
112
113int rawRecvHeadC( int, char *, int, int, char *);
114 /* receive common buffer header and check header values */
115
116int rawRecvStatus( int, char *);
117 /* receive common buffer header and error msg */
118
119int rawSendRequest( int, int, int, int);
120 /* send request buffer */
121
122int rawSendStatus( int, int, char *);
123 /* send status buffer */
124
125int rawSortValues( int *, int, int, int, int *, int *);
126 /* sort indexed list of numbers */
127
128int rawTapeFile( char *, char *, int, int *, unsigned long *);
129 /* send status buffer */
130
131int rawTestFileName( char *);
132 /* verify that specified name is valid */
133
134int rawCheckClientFile( char *, char **, char **);
135 /* check client file name, get tape drive name */
136
137#ifdef VMS
138int rawCheckDevice (char *, char **, char **);
139 /* check device type of specified file */
140
141int rawGetTapeInfo( char *, char **, sTapeFileList **);
142 /* get file names, sizes and buffer sizes from tape */
143
144int rawSyncFilelist( char *, sTapeFileList **, int);
145 /* synchronize both filelist buffers */
146
147char *rawVMSName( char *, int);
148 /* check if valid VMS name; if not change it to valid VMS name */
149
150#endif
151
152int rconnect( char *, int, int *, int *);
153 /* open connection to specified server */
154
int rawGetFilelist(char *, int, char **)
int rawRecvHeadC(int, char *, int, int, char *)
Definition rawProcn.c:1495
int rawTestFileName(char *)
Definition rawProcn.c:2188
char * rawGetFSName(char *)
int rawGetLLName(char *, const char *, char *)
Definition rawProcn.c:736
int rconnect(char *, int, int *, int *)
Definition rconnect.c:58
int rawRecvStatus(int, char *)
Definition rawProcn.c:1904
int rawDelFile(int, srawComm *)
char * rawGetUserid()
Definition rawProcUn.c:1827
int rawCheckClientFile(char *, char **, char **)
Definition rawProcn.c:345
int rawGetHostConn()
Definition rawProcUn.c:1647
int rawCheckObjlist(int, int, char **, char **, char **)
char * rawGetHLName(char *)
Definition rawProcn.c:657
int rawQueryString(srawObjAttr *, int, int, char *)
int rawSortValues(int *, int, int, int, int *, int *)
int rawTapeFile(char *, char *, int, int *, unsigned long *)
int rawSendStatus(int, int, char *)
Definition rawProcn.c:2113
int rawRecvError(int, int, char *)
Definition rawProcn.c:1286
int rawSendRequest(int, int, int, int)
Definition rawProcn.c:2043
char * rawGetPathName(char *)
Definition rawProcn.c:901
int rawRecvHead(int, char *)
Definition rawProcn.c:1398
char * rawGetFullFile(char *, char *)
int rawCheckFilelist(char **, char **, char *, char *)
int rawDelList(int, int, srawDataMoverAttr *, srawComm *, char **, char **)
void rawQueryPrint(srawObjAttr *, int)
int rawQueryFile(int, int, srawComm *, void **)
Definition rawProcn.c:946
int rawGetFileAttr(char *, unsigned long *)
Definition rawProcUn.c:1045
int rawGetCmdParms(int, char **, char **)
int rawGetFileSize(char *, unsigned long *, unsigned int *)
Definition rawProcn.c:787