// $Id$ //----------------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //----------------------------------------------------------------------- // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH // Planckstr. 1, 64291 Darmstadt, Germany // Contact: http://go4.gsi.de //----------------------------------------------------------------------- // This software can be used under the license agreements as stated // in Go4License.txt file which is part of the distribution. //----------------------------------------------------------------------- /********************************************************************* * GPS_SC_DEF.H * * Include file MUST be EQUAL on GPS-Server, GPS-Client and SBS-Monitor * * 02-Feb-1994, RSM: file renamed from M_PAW_SC.H and def. names modified * ********************************************************************* * 10. 3.98, H.G: implemented in Linux ********************************************************************* */ #ifndef GPS_SC_DEF_H #define GPS_SC_DEF_H #include "typedefs.h" #define EB__BUFFER_DATA 131072 #define GPS__OUTBUFSIZ 16384 /* client output buffer siz*/ /* bytes */ #define GPS__EVT_BUFSIZ 16384 /* event buffer size for */ /* spanned evt in bytes */ #define GPS__MAXFLT 32 #define GPS__MAXFLTDESCR 16 #define GPS__MAXCLIENTS 6 #define GPS__CLNT_SNDFLT 404 /* (GPS__MAXFLT * 3 + * 5LW) * 4 */ /* length in bytes! */ /* the filter is used in "s_client.h". For filter */ /* and descriptor definition see "s_filter.h", for */ /* length definitions "s_clntbuf.h", "s_clntoutbuf.h"*/ /* +++++++++++++++++++++++++++++++++++++ */ /* +++ environment of the TX partner +++ */ /* +++++++++++++++++++++++++++++++++++++ */ #define GPS__ENV_TESTBIT 0x00000001 /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ /* ++ the setting of GPS__ENV_ENDIEN is implementation dependent!! ++ */ /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* little endian (bit0 on the right side) DEC, INTEL machines */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ #ifdef VMS /* DEC: VMS, OpenVMS */ #define GPS__ENV_ENDIAN 0x0 #endif #ifdef ultrix /* DEC Ultrix */ #define GPS__ENV_ENDIAN 0x0 #endif #ifdef Linux /* Linux */ #define GPS__ENV_ENDIAN 0x0 #endif #ifdef GSI__WINNT /* Windows NT */ #define GPS__ENV_ENDIAN 0x0 #endif #ifdef Darwin /* Mac OS X */ #define GPS__ENV_ENDIAN 0x0 #endif /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* big endian (bit0 on the left side) IBM, HP, 68xxx... */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ #ifdef _AIX /* AIX */ #define GPS__ENV_ENDIAN 0xFFFFFFFF #endif #ifdef HPUX /* HP-UX */ #define GPS__ENV_ENDIAN 0xFFFFFFFF #endif #ifdef Lynx /* LynxOS */ #define GPS__ENV_ENDIAN 0xFFFFFFFF #endif #ifdef Solaris /* Sun Sparc Solaris */ #define GPS__ENV_ENDIAN 0xFFFFFFFF #endif #endif