00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef S_BUFHE 00017 #define S_BUFHE 00018 00019 #include "typedefs.h" 00020 /* Generated from SA$BUFHE.TXT */ 00021 /* Swapping enabled */ 00022 /* ================= GSI Buffer header ======================= */ 00023 #define MAX__DLEN 16360 00024 00025 #if MBS_ENDIAN == 1 00026 00027 typedef struct 00028 { 00029 INTS4 l_dlen; /* Length of data field in words */ 00030 INTS2 i_subtype; 00031 INTS2 i_type; 00032 CHARS h_begin; /* Fragment at end of buffer */ 00033 CHARS h_end; /* Fragment at begin of buffer */ 00034 INTS2 i_used; /* Used length of data field in words */ 00035 INTS4 l_buf; /* Current buffer number */ 00036 INTS4 l_evt; /* Number of fragments */ 00037 INTS4 l_current_i; /* Index, temporarily used */ 00038 INTS4 l_time[2]; 00039 INTS4 l_free[4]; 00040 } s_bufhe; 00041 00042 #else 00043 00044 typedef struct 00045 { 00046 INTS4 l_dlen; /* Length of data field in words */ 00047 INTS2 i_type; 00048 INTS2 i_subtype; 00049 INTS2 i_used; /* Used length of data field in words */ 00050 CHARS h_end; /* Fragment at begin of buffer */ 00051 CHARS h_begin; /* Fragment at end of buffer */ 00052 INTS4 l_buf; /* Current buffer number */ 00053 INTS4 l_evt; /* Number of fragments */ 00054 INTS4 l_current_i; /* Index, temporarily used */ 00055 INTS4 l_time[2]; 00056 INTS4 l_free[4]; 00057 } s_bufhe; 00058 00059 #endif 00060 00061 #endif 00062 00063 //----------------------------END OF GO4 SOURCE FILE ---------------------