FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
s_bufhe.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
9 #ifndef S_BUFHE
10 #define S_BUFHE
11 
12 #include "typedefs.h"
13 /* Generated from SA$BUFHE.TXT */
14 /* Swapping enabled */
15 /* ================= GSI Buffer header ======================= */
16 #define MAX__DLEN 16360
17 
18 #if MBS_ENDIAN == 1
19 
20 typedef struct
21 {
22  INTS4 l_dlen; /* Length of data field in words */
23  INTS2 i_subtype;
24  INTS2 i_type;
25  CHARS h_begin; /* Fragment at end of buffer */
26  CHARS h_end; /* Fragment at begin of buffer */
27  INTS2 i_used; /* Used length of data field in words */
28  INTS4 l_buf; /* Current buffer number */
29  INTS4 l_evt; /* Number of fragments */
30  INTS4 l_current_i; /* Index, temporarily used */
31  INTS4 l_time[2];
32  INTS4 l_free[4];
33 } s_bufhe;
34 
35 #else
36 
37 typedef struct
38 {
39  INTS4 l_dlen; /* Length of data field in words */
42  INTS2 i_used; /* Used length of data field in words */
43  CHARS h_end; /* Fragment at begin of buffer */
44  CHARS h_begin; /* Fragment at end of buffer */
45  INTS4 l_buf; /* Current buffer number */
46  INTS4 l_evt; /* Number of fragments */
47  INTS4 l_current_i; /* Index, temporarily used */
48  INTS4 l_time[2];
49  INTS4 l_free[4];
50 } s_bufhe;
51 
52 #endif
53 
54 #endif
CHARS h_end
Definition: s_bufhe.h:43
short INTS2
Definition: typedefs.h:19
INTS4 l_evt
Definition: s_bufhe.h:46
INTS2 i_subtype
Definition: s_bufhe.h:41
INTS2 i_type
Definition: s_bufhe.h:40
INTS4 l_dlen
Definition: s_bufhe.h:39
int INTS4
Definition: typedefs.h:21
CHARS h_begin
Definition: s_bufhe.h:44
INTS4 l_current_i
Definition: s_bufhe.h:47
INTS4 l_buf
Definition: s_bufhe.h:45
char CHARS
Definition: typedefs.h:15
INTS2 i_used
Definition: s_bufhe.h:42