00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef S_FILHE 00017 #define S_FILHE 00018 00019 #include "typedefs.h" 00020 00021 struct cv_string 00022 { 00023 INTS2 string_l; 00024 CHARS string[78]; 00025 } ; 00026 00027 00028 #if MBS_ENDIAN == 1 00029 00030 typedef struct { 00031 INTS4 filhe_dlen; /* length of data in words */ 00032 INTS2 filhe_subtype; /* = 1 */ 00033 INTS2 filhe_type; /* = 2000 */ 00034 INTS2 filhe_frag; 00035 INTS2 filhe_used; 00036 INTS4 filhe_buf; 00037 INTS4 filhe_evt; 00038 INTS4 filhe_current_i; 00039 INTS4 filhe_stime[2]; 00040 INTS4 filhe_free[4]; /* free[0] = 1 -> swap */ 00041 INTS2 filhe_label_l; /* length of tape label string */ 00042 CHARS filhe_label[30]; /* tape label */ 00043 INTS2 filhe_file_l; /* length of file name */ 00044 CHARS filhe_file[86]; /* file name */ 00045 INTS2 filhe_user_l; /* length of user name */ 00046 CHARS filhe_user[30]; /* user name */ 00047 CHARS filhe_time[24]; /* date and time string */ 00048 INTS2 filhe_run_l; /* length of run id */ 00049 CHARS filhe_run[66]; /* run id */ 00050 INTS2 filhe_exp_l; /* length of explanation */ 00051 CHARS filhe_exp[66]; /* explanation */ 00052 INTS4 filhe_lines; /* # of comment lines */ 00053 struct cv_string s_strings[30]; /* max 30 comment lines */ 00054 } s_filhe; 00055 00056 #else 00057 00058 typedef struct { 00059 INTS4 filhe_dlen; /* length of data in words */ 00060 INTS2 filhe_type; /* = 2000 */ 00061 INTS2 filhe_subtype; /* = 1 */ 00062 INTS2 filhe_used; 00063 INTS2 filhe_frag; 00064 INTS4 filhe_buf; 00065 INTS4 filhe_evt; 00066 INTS4 filhe_current_i; 00067 INTS4 filhe_stime[2]; 00068 INTS4 filhe_free[4]; /* free[0] = 1 -> swap */ 00069 INTS2 filhe_label_l; /* length of tape label string */ 00070 CHARS filhe_label[30]; /* tape label */ 00071 INTS2 filhe_file_l; /* length of file name */ 00072 CHARS filhe_file[86]; /* file name */ 00073 INTS2 filhe_user_l; /* length of user name */ 00074 CHARS filhe_user[30]; /* user name */ 00075 CHARS filhe_time[24]; /* date and time string */ 00076 INTS2 filhe_run_l; /* length of run id */ 00077 CHARS filhe_run[66]; /* run id */ 00078 INTS2 filhe_exp_l; /* length of explanation */ 00079 CHARS filhe_exp[66]; /* explanation */ 00080 INTS4 filhe_lines; /* # of comment lines */ 00081 struct cv_string s_strings[30]; /* max 30 comment lines */ 00082 } s_filhe; 00083 00084 #endif 00085 00086 #endif 00087 00088 //----------------------------END OF GO4 SOURCE FILE ---------------------