GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
gps_sc_def.h
Go to the documentation of this file.
1 // $Id: gps_sc_def.h 595 2010-03-09 06:51:15Z adamczew $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 /*********************************************************************
15  * GPS_SC_DEF.H
16  *
17  * Include file MUST be EQUAL on GPS-Server, GPS-Client and SBS-Monitor
18  *
19  * 02-Feb-1994, RSM: file renamed from M_PAW_SC.H and def. names modified
20  *
21  *********************************************************************
22  * 10. 3.98, H.G: implemented in Linux
23  *********************************************************************
24  */
25 
26 #ifndef GPS_SC_DEF
27 #define GPS_SC_DEF
28 
29 #define EB__BUFFER_DATA 131072
30 #define GPS__OUTBUFSIZ 16384 /* client output buffer siz*/
31  /* bytes */
32 #define GPS__EVT_BUFSIZ 16384 /* event buffer size for */
33  /* spanned evt in bytes */
34 #define GPS__MAXFLT 32
35 #define GPS__MAXFLTDESCR 16
36 #define GPS__MAXCLIENTS 6
37 
38 #define GPS__CLNT_SNDFLT 404 /* (GPS__MAXFLT * 3 +
39  * 5LW) * 4
40  */
41  /* length in bytes! */
42  /* the filter is used in "s_client.h". For filter */
43  /* and descriptor definition see "s_filter.h", for */
44  /* length definitions "s_clntbuf.h", "s_clntoutbuf.h"*/
45 
46 
47 /* +++++++++++++++++++++++++++++++++++++ */
48 /* +++ environment of the TX partner +++ */
49 /* +++++++++++++++++++++++++++++++++++++ */
50 #define GPS__ENV_TESTBIT 0x00000001
51 
52 /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
53 /* ++ the setting of GPS__ENV_ENDIEN is implementation dependent!! ++ */
54 /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
55 
56 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
57 /* little endian (bit0 on the right side) DEC, INTEL machines */
58 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
59 #ifdef VMS /* DEC: VMS, OpenVMS */
60 #define GPS__ENV_ENDIAN 0x0
61 #endif
62 
63 #ifdef ultrix /* DEC Ultrix */
64 #define GPS__ENV_ENDIAN 0x0
65 #endif
66 
67 #ifdef Linux /* Linux */
68 #define GPS__ENV_ENDIAN 0x0
69 #endif
70 
71 #ifdef GSI__WINNT /* Windows NT */
72 #define GPS__ENV_ENDIAN 0x0
73 #endif
74 
75 #ifdef Darwin /* Mac OS X */
76 #define GPS__ENV_ENDIAN 0x0
77 #endif
78 
79 
80 
81 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
82 /* big endian (bit0 on the left side) IBM, HP, 68xxx... */
83 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
84 #ifdef _AIX /* AIX */
85 #define GPS__ENV_ENDIAN 0xFFFFFFFF
86 #endif
87 
88 #ifdef HPUX /* HP-UX */
89 #define GPS__ENV_ENDIAN 0xFFFFFFFF
90 #endif
91 
92 #ifdef Lynx /* LynxOS */
93 #define GPS__ENV_ENDIAN 0xFFFFFFFF
94 #endif
95 
96 #ifdef Solaris /* Sun Sparc Solaris */
97 #define GPS__ENV_ENDIAN 0xFFFFFFFF
98 #endif
99 
100 
101 #endif
102