GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
s_filhe.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_FILHE_H
15#define S_FILHE_H
16
17#include "typedefs.h"
18
20{
22 CHARS string[78];
23} ;
24
25
26#if MBS_ENDIAN == 1
27
28typedef struct {
29 INTS4 filhe_dlen; /* length of data in words */
30 INTS2 filhe_subtype; /* = 1 */
31 INTS2 filhe_type; /* = 2000 */
32 INTS2 filhe_frag;
33 INTS2 filhe_used;
34 INTS4 filhe_buf;
35 INTS4 filhe_evt;
36 INTS4 filhe_current_i;
37 INTS4 filhe_stime[2];
38 INTS4 filhe_free[4]; /* free[0] = 1 -> swap */
39 INTS2 filhe_label_l; /* length of tape label string */
40 CHARS filhe_label[30]; /* tape label */
41 INTS2 filhe_file_l; /* length of file name */
42 CHARS filhe_file[86]; /* file name */
43 INTS2 filhe_user_l; /* length of user name */
44 CHARS filhe_user[30]; /* user name */
45 CHARS filhe_time[24]; /* date and time string */
46 INTS2 filhe_run_l; /* length of run id */
47 CHARS filhe_run[66]; /* run id */
48 INTS2 filhe_exp_l; /* length of explanation */
49 CHARS filhe_exp[66]; /* explanation */
50 INTS4 filhe_lines; /* # of comment lines */
51 struct cv_string s_strings[30]; /* max 30 comment lines */
52} s_filhe;
53
54#else
55
56typedef struct {
57 INTS4 filhe_dlen; /* length of data in words */
58 INTS2 filhe_type; /* = 2000 */
66 INTS4 filhe_free[4]; /* free[0] = 1 -> swap */
67 INTS2 filhe_label_l; /* length of tape label string */
68 CHARS filhe_label[30]; /* tape label */
69 INTS2 filhe_file_l; /* length of file name */
70 CHARS filhe_file[86]; /* file name */
71 INTS2 filhe_user_l; /* length of user name */
72 CHARS filhe_user[30]; /* user name */
73 CHARS filhe_time[24]; /* date and time string */
74 INTS2 filhe_run_l; /* length of run id */
75 CHARS filhe_run[66]; /* run id */
76 INTS2 filhe_exp_l; /* length of explanation */
77 CHARS filhe_exp[66]; /* explanation */
78 INTS4 filhe_lines; /* # of comment lines */
79 struct cv_string s_strings[30]; /* max 30 comment lines */
80} s_filhe;
81
82#endif
83
84#endif
INTS2 string_l
Definition s_filhe.h:21
INTS2 filhe_file_l
Definition s_filhe.h:69
CHARS filhe_label[30]
Definition s_filhe.h:68
CHARS filhe_run[66]
Definition s_filhe.h:75
INTS2 filhe_user_l
Definition s_filhe.h:71
INTS2 filhe_run_l
Definition s_filhe.h:74
INTS4 filhe_lines
Definition s_filhe.h:78
struct cv_string s_strings[30]
Definition s_filhe.h:79
INTS2 filhe_subtype
Definition s_filhe.h:59
CHARS filhe_exp[66]
Definition s_filhe.h:77
INTS2 filhe_frag
Definition s_filhe.h:61
INTS4 filhe_stime[2]
Definition s_filhe.h:65
INTS2 filhe_type
Definition s_filhe.h:58
INTS2 filhe_exp_l
Definition s_filhe.h:76
INTS4 filhe_buf
Definition s_filhe.h:62
INTS4 filhe_current_i
Definition s_filhe.h:64
CHARS filhe_file[86]
Definition s_filhe.h:70
INTS4 filhe_evt
Definition s_filhe.h:63
INTS4 filhe_free[4]
Definition s_filhe.h:66
INTS2 filhe_used
Definition s_filhe.h:60
INTS2 filhe_label_l
Definition s_filhe.h:67
CHARS filhe_time[24]
Definition s_filhe.h:73
CHARS filhe_user[30]
Definition s_filhe.h:72
INTS4 filhe_dlen
Definition s_filhe.h:57
int INTS4
Definition typedefs.h:28
short INTS2
Definition typedefs.h:26
char CHARS
Definition typedefs.h:21