GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
s_bufhe.h
Go to the documentation of this file.
1// $Id$
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 fuer 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_H
15#define S_BUFHE_H
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
25typedef struct
26{
27INTS4 l_dlen; /* Length of data field in words */
28INTS2 i_subtype;
29INTS2 i_type;
30CHARS h_begin; /* Fragment at end of buffer */
31CHARS h_end; /* Fragment at begin of buffer */
32INTS2 i_used; /* Used length of data field in words */
33INTS4 l_buf; /* Current buffer number */
34INTS4 l_evt; /* Number of fragments */
35INTS4 l_current_i; /* Index, temporarily used */
36INTS4 l_time[2];
37INTS4 l_free[4];
38} s_bufhe;
39
40#else
41
42typedef struct
43{
44INTS4 l_dlen; /* Length of data field in words */
47INTS2 i_used; /* Used length of data field in words */
48CHARS h_end; /* Fragment at begin of buffer */
49CHARS h_begin; /* Fragment at end of buffer */
50INTS4 l_buf; /* Current buffer number */
51INTS4 l_evt; /* Number of fragments */
52INTS4 l_current_i; /* Index, temporarily used */
55} s_bufhe;
56
57#endif
58
59#endif
INTS4 l_time[2]
Definition s_bufhe.h:53
INTS2 i_used
Definition s_bufhe.h:47
INTS4 l_buf
Definition s_bufhe.h:50
INTS4 l_dlen
Definition s_bufhe.h:44
CHARS h_begin
Definition s_bufhe.h:49
INTS4 l_free[4]
Definition s_bufhe.h:54
INTS4 l_evt
Definition s_bufhe.h:51
INTS2 i_subtype
Definition s_bufhe.h:46
CHARS h_end
Definition s_bufhe.h:48
INTS4 l_current_i
Definition s_bufhe.h:52
INTS2 i_type
Definition s_bufhe.h:45
int INTS4
Definition typedefs.h:28
short INTS2
Definition typedefs.h:26
char CHARS
Definition typedefs.h:21