GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
rawdefn.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 11. 6.1996 by Horst Goeringer
8  *********************************************************************
9  * rawdefn.h
10  * some common definitions for LOCAL declarations
11  * new version
12  *********************************************************************
13  * 29.10.1996, H.G.: server node sp2b01_f
14  * 21. 4.1997, H.G.: wildcard character %
15  * 20. 5.1997, H.G.: CMDLEN and BUFSIZE added
16  * 10. 7.1997, H.G.: alias name adsmexp for server node
17  * 7.11.2001, H.G.: ported to W2000
18  * 14.10.2002, H.G.: ported to Lynx
19  * 31. 1.2003, H.G.: created from rawdef.h, default master: depc134
20  * 6.10.2003, H.G.: cNodeServ ("depc134") => cNodeMasterC ("gsitsma")
21  * 29. 3.2006, H.G.: cNodeMasterC: gsitsma -> lxgstore
22  * 28. 4.2006, H.G.: remove node/port of entry server (-> rawcommn.h)
23  * 11.11.2008, H.G.: declarations 'char *' -> 'const char *'
24  * 3.12.2008, H.G.: pcDevDelim: 'char *' -> 'const char *'
25  *********************************************************************
26  */
27 
28 #define CMDLEN 256 /* max length of commands (shell or clients) */
29 #define BUFSIZE 256 /* buffer size reading temporary (pipe) data */
30 
31 static const char *pcDevDelim = ":";
32 #ifdef VMS
33  static const char *pcFileDelim = "]";
34  static const char *pcFileDelim0 = "[";
35  static const char *pcFileDelim2 = ":";
36  static const char *pcObjDelim = "/";
37  static const char *pcObjDelimAlt = "\\";
38 #endif
39 
40 #ifdef _AIX
41  static const char *pcFileDelim = "/";
42  static const char *pcObjDelim = "/";
43  static const char *pcObjDelimAlt = "\\";
44 #endif
45 
46 #ifdef Linux
47  static const char *pcFileDelim = "/";
48  static const char *pcObjDelim = "/";
49  static const char *pcObjDelimAlt = "\\";
50 #endif
51 
52 #ifdef Lynx
53  static const char *pcFileDelim = "/";
54  static const char *pcObjDelim = "/";
55  static const char *pcObjDelimAlt = "\\";
56 #endif
57 
58 #ifdef WIN32
59  static const char *pcFileDelim = "\\";
60  static const char *pcObjDelim = "\\";
61  static const char *pcObjDelimAlt = "/";
62 #endif
63 
64 static const char *pcStar = "*"; /* wildcard char in TSM */
65 static const char *pcQM = "?"; /* wildcard char in TSM */
66 static const char *pcPerc = "%"; /* wildcard char in VMS */
67 static const char *pcOpt1 = "-"; /* command option marker 1 */
68 static const char *pcOpt2 = "/"; /* command option marker 2 (VMS) */
69 static int iOptm = 1; /* length of option marker */
70 static int iOpt = 1; /* length of option (without marker) */
71 
static int iOpt
Definition: rawdefn.h:70
static const char * pcStar
Definition: rawdefn.h:64
static int iOptm
Definition: rawdefn.h:69
static const char * pcOpt2
Definition: rawdefn.h:68
static const char * pcQM
Definition: rawdefn.h:65
static const char * pcPerc
Definition: rawdefn.h:66
static const char * pcOpt1
Definition: rawdefn.h:67
static const char * pcDevDelim
Definition: rawdefn.h:31