GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
gps_sc_def.h
Go to the documentation of this file.
1// $Id$
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 fuer 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_H
27#define GPS_SC_DEF_H
28
29#include "typedefs.h"
30
31#define EB__BUFFER_DATA 131072
32#define GPS__OUTBUFSIZ 16384 /* client output buffer siz*/
33 /* bytes */
34#define GPS__EVT_BUFSIZ 16384 /* event buffer size for */
35 /* spanned evt in bytes */
36#define GPS__MAXFLT 32
37#define GPS__MAXFLTDESCR 16
38#define GPS__MAXCLIENTS 6
39
40#define GPS__CLNT_SNDFLT 404 /* (GPS__MAXFLT * 3 +
41 * 5LW) * 4
42 */
43 /* length in bytes! */
44 /* the filter is used in "s_client.h". For filter */
45 /* and descriptor definition see "s_filter.h", for */
46 /* length definitions "s_clntbuf.h", "s_clntoutbuf.h"*/
47
48
49/* +++++++++++++++++++++++++++++++++++++ */
50/* +++ environment of the TX partner +++ */
51/* +++++++++++++++++++++++++++++++++++++ */
52#define GPS__ENV_TESTBIT 0x00000001
53
54/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
55/* ++ the setting of GPS__ENV_ENDIEN is implementation dependent!! ++ */
56/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
57
58/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
59/* little endian (bit0 on the right side) DEC, INTEL machines */
60/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
61#ifdef VMS /* DEC: VMS, OpenVMS */
62#define GPS__ENV_ENDIAN 0x0
63#endif
64
65#ifdef ultrix /* DEC Ultrix */
66#define GPS__ENV_ENDIAN 0x0
67#endif
68
69#ifdef Linux /* Linux */
70#define GPS__ENV_ENDIAN 0x0
71#endif
72
73#ifdef GSI__WINNT /* Windows NT */
74#define GPS__ENV_ENDIAN 0x0
75#endif
76
77#ifdef Darwin /* Mac OS X */
78#define GPS__ENV_ENDIAN 0x0
79#endif
80
81
82
83/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
84/* big endian (bit0 on the left side) IBM, HP, 68xxx... */
85/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
86#ifdef _AIX /* AIX */
87#define GPS__ENV_ENDIAN 0xFFFFFFFF
88#endif
89
90#ifdef HPUX /* HP-UX */
91#define GPS__ENV_ENDIAN 0xFFFFFFFF
92#endif
93
94#ifdef Lynx /* LynxOS */
95#define GPS__ENV_ENDIAN 0xFFFFFFFF
96#endif
97
98#ifdef Solaris /* Sun Sparc Solaris */
99#define GPS__ENV_ENDIAN 0xFFFFFFFF
100#endif
101
102#endif