GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
s_bufhe.h
Go to the documentation of this file.
1 // $Id: s_bufhe.h 478 2009-10-29 12:26:09Z linev $
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 #ifndef S_BUFHE
15 #define S_BUFHE
16 
17 #include "typedefs.h"
18 /* Generated from SA$BUFHE.TXT */
19 /* Swapping enabled */
20  /* ================= GSI Buffer header ======================= */
21 #define MAX__DLEN 16360
22 
23 #if MBS_ENDIAN == 1
24 
25 typedef struct
26 {
27 INTS4 l_dlen; /* Length of data field in words */
28 INTS2 i_subtype;
29 INTS2 i_type;
30 CHARS h_begin; /* Fragment at end of buffer */
31 CHARS h_end; /* Fragment at begin of buffer */
32 INTS2 i_used; /* Used length of data field in words */
33 INTS4 l_buf; /* Current buffer number */
34 INTS4 l_evt; /* Number of fragments */
35 INTS4 l_current_i; /* Index, temporarily used */
36 INTS4 l_time[2];
37 INTS4 l_free[4];
38 } s_bufhe;
39 
40 #else
41 
42 typedef struct
43 {
44 INTS4 l_dlen; /* Length of data field in words */
47 INTS2 i_used; /* Used length of data field in words */
48 CHARS h_end; /* Fragment at begin of buffer */
49 CHARS h_begin; /* Fragment at end of buffer */
50 INTS4 l_buf; /* Current buffer number */
51 INTS4 l_evt; /* Number of fragments */
52 INTS4 l_current_i; /* Index, temporarily used */
53 INTS4 l_time[2];
54 INTS4 l_free[4];
55 } s_bufhe;
56 
57 #endif
58 
59 #endif
CHARS h_end
Definition: s_bufhe.h:48
short INTS2
Definition: typedefs.h:26
INTS4 l_evt
Definition: s_bufhe.h:51
INTS2 i_subtype
Definition: s_bufhe.h:46
INTS2 i_type
Definition: s_bufhe.h:45
INTS4 l_dlen
Definition: s_bufhe.h:44
int INTS4
Definition: typedefs.h:28
CHARS h_begin
Definition: s_bufhe.h:49
INTS4 l_current_i
Definition: s_bufhe.h:52
INTS4 l_buf
Definition: s_bufhe.h:50
char CHARS
Definition: typedefs.h:21
INTS2 i_used
Definition: s_bufhe.h:47