00001 // $Id: gps_sc_def.h 595 2010-03-09 06:51:15Z adamczew $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 /********************************************************************* 00015 * GPS_SC_DEF.H 00016 * 00017 * Include file MUST be EQUAL on GPS-Server, GPS-Client and SBS-Monitor 00018 * 00019 * 02-Feb-1994, RSM: file renamed from M_PAW_SC.H and def. names modified 00020 * 00021 ********************************************************************* 00022 * 10. 3.98, H.G: implemented in Linux 00023 ********************************************************************* 00024 */ 00025 00026 #ifndef GPS_SC_DEF 00027 #define GPS_SC_DEF 00028 00029 #define EB__BUFFER_DATA 131072 00030 #define GPS__OUTBUFSIZ 16384 /* client output buffer siz*/ 00031 /* bytes */ 00032 #define GPS__EVT_BUFSIZ 16384 /* event buffer size for */ 00033 /* spanned evt in bytes */ 00034 #define GPS__MAXFLT 32 00035 #define GPS__MAXFLTDESCR 16 00036 #define GPS__MAXCLIENTS 6 00037 00038 #define GPS__CLNT_SNDFLT 404 /* (GPS__MAXFLT * 3 + 00039 * 5LW) * 4 00040 */ 00041 /* length in bytes! */ 00042 /* the filter is used in "s_client.h". For filter */ 00043 /* and descriptor definition see "s_filter.h", for */ 00044 /* length definitions "s_clntbuf.h", "s_clntoutbuf.h"*/ 00045 00046 00047 /* +++++++++++++++++++++++++++++++++++++ */ 00048 /* +++ environment of the TX partner +++ */ 00049 /* +++++++++++++++++++++++++++++++++++++ */ 00050 #define GPS__ENV_TESTBIT 0x00000001 00051 00052 /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ 00053 /* ++ the setting of GPS__ENV_ENDIEN is implementation dependent!! ++ */ 00054 /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ 00055 00056 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 00057 /* little endian (bit0 on the right side) DEC, INTEL machines */ 00058 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 00059 #ifdef VMS /* DEC: VMS, OpenVMS */ 00060 #define GPS__ENV_ENDIAN 0x0 00061 #endif 00062 00063 #ifdef ultrix /* DEC Ultrix */ 00064 #define GPS__ENV_ENDIAN 0x0 00065 #endif 00066 00067 #ifdef Linux /* Linux */ 00068 #define GPS__ENV_ENDIAN 0x0 00069 #endif 00070 00071 #ifdef GSI__WINNT /* Windows NT */ 00072 #define GPS__ENV_ENDIAN 0x0 00073 #endif 00074 00075 #ifdef Darwin /* Mac OS X */ 00076 #define GPS__ENV_ENDIAN 0x0 00077 #endif 00078 00079 00080 00081 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 00082 /* big endian (bit0 on the left side) IBM, HP, 68xxx... */ 00083 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 00084 #ifdef _AIX /* AIX */ 00085 #define GPS__ENV_ENDIAN 0xFFFFFFFF 00086 #endif 00087 00088 #ifdef HPUX /* HP-UX */ 00089 #define GPS__ENV_ENDIAN 0xFFFFFFFF 00090 #endif 00091 00092 #ifdef Lynx /* LynxOS */ 00093 #define GPS__ENV_ENDIAN 0xFFFFFFFF 00094 #endif 00095 00096 #ifdef Solaris /* Sun Sparc Solaris */ 00097 #define GPS__ENV_ENDIAN 0xFFFFFFFF 00098 #endif 00099 00100 00101 #endif 00102