FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
s_ves10_1.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 #ifndef S_VES10_1
9 #define S_VES10_1
10 
11 #include "typedefs.h"
12 /* ================= GSI VME Subevent header ======================= */
13 
14 #if MBS_ENDIAN == 1
15 
16 typedef struct
17 {
18  INTS4 l_dlen; /* Data length +2 in words */
19  INTS2 i_subtype;
20  INTS2 i_type;
21  CHARS h_control; /* Processor type code */
22  CHARS h_subcrate; /* Subcrate number */
23  INTS2 i_procid; /* Processor ID [as loaded from VAX] */
24 } s_ves10_1;
25 /* ------------------------------------------------------------------ */
26 
27 #else
28 
29 typedef struct
30 {
31  INTS4 l_dlen; /* Data length +2 in words */
34  INTS2 i_procid; /* Processor ID [as loaded from VAX] */
35  CHARS h_subcrate; /* Subcrate number */
36  CHARS h_control; /* Processor type code */
37 } s_ves10_1;
38 
39 #endif
40 
41 #endif
short INTS2
Definition: typedefs.h:19
CHARS h_subcrate
Definition: s_ves10_1.h:35
INTS2 i_procid
Definition: s_ves10_1.h:34
INTS4 l_dlen
Definition: s_ves10_1.h:31
int INTS4
Definition: typedefs.h:21
INTS2 i_type
Definition: s_ves10_1.h:32
char CHARS
Definition: typedefs.h:15
INTS2 i_subtype
Definition: s_ves10_1.h:33
CHARS h_control
Definition: s_ves10_1.h:36