GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
MbsAPI
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
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 */
45
INTS2
i_type
;
46
INTS2
i_subtype
;
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
s_bufhe
Definition
s_bufhe.h:43
s_bufhe::l_time
INTS4 l_time[2]
Definition
s_bufhe.h:53
s_bufhe::i_used
INTS2 i_used
Definition
s_bufhe.h:47
s_bufhe::l_buf
INTS4 l_buf
Definition
s_bufhe.h:50
s_bufhe::l_dlen
INTS4 l_dlen
Definition
s_bufhe.h:44
s_bufhe::h_begin
CHARS h_begin
Definition
s_bufhe.h:49
s_bufhe::l_free
INTS4 l_free[4]
Definition
s_bufhe.h:54
s_bufhe::l_evt
INTS4 l_evt
Definition
s_bufhe.h:51
s_bufhe::i_subtype
INTS2 i_subtype
Definition
s_bufhe.h:46
s_bufhe::h_end
CHARS h_end
Definition
s_bufhe.h:48
s_bufhe::l_current_i
INTS4 l_current_i
Definition
s_bufhe.h:52
s_bufhe::i_type
INTS2 i_type
Definition
s_bufhe.h:45
typedefs.h
INTS4
int INTS4
Definition
typedefs.h:28
INTS2
short INTS2
Definition
typedefs.h:26
CHARS
char CHARS
Definition
typedefs.h:21
Generated by
1.13.2