typedef struct pix_head_struct_4 { short int len; /* bit 0-10: length, bit 11-14: bits */ unsigned short int len_prev;/* bit 0-10: length previous, bit 11_15: type */ double tim; /* line of day (1.line upper system) */ unsigned short int eq_diam; /* diameter [ 0.01mm] */ short int up_lins; /* number of lines upper system */ short int lo_up_lins; /* low - up lines */ short int diff_lins; /* difference of line counters at bottom */ short int min_up; /* smallest pixel number upper */ short int min_lo; /* smallest pixel number lower*/ unsigned short int y_scal; /* 0.1 um */ unsigned short int x_scale_up; /* 0.1 um */ unsigned short int x_scale_lo; /* 0.1 um */ } pix_head_4; #define SIZE_PIXH_4 30 typedef struct pix_head_struct_3 { short int len; /* bit 0-10: length, bit 11-14: bits */ unsigned short int len_prev;/* bit 0-10: length previous, bit 11_15: type */ unsigned long int tim; /* line of day (1.line upper system) */ unsigned short int eq_diam; /* diameter [ 0.01mm] */ short int up_lins; /* number of lines upper system */ short int lo_up_lins; /* low - up lines */ short int diff_lins; /* difference of line counters at bottom */ short int min_up; /* smallest pixel number upper */ short int min_lo; /* smallest pixel number lower*/ unsigned short int y_scal; /* 0.1 um */ unsigned short int x_scale_up; /* 0.1 um */ unsigned short int x_scale_lo; /* 0.1 um */ } pix_head_3; #define SIZE_PIXH_3 26 typedef struct pix_head_struct_o { short int len; /* bit 0-10: length, bit 11-14: bits */ unsigned short int len_prev;/* bit 0-10: length previous, bit 11_15: type */ unsigned long int tim; /* line of day (1.line upper system) */ unsigned short int eq_diam; /* diameter [ 0.01mm] */ short int up_lins; /* number of lines upper system */ signed char lo_up_lins; /* low - up lines */ signed char linefeed; /* 1=lf, 0=no lf */ short int diff_lins; /* difference of line counters at bottom */ short int min_up; /* smallest pixel number upper */ short int min_lo; /* smallest pixel number lower*/ unsigned short int x_scale_up; /* 0.1 um */ unsigned short int x_scale_lo; /* 0.1 um */ } pix_head_o; #define SIZE_PIXH_O 24 typedef struct quarter_struct { short int indic; /* fixed indicator for quarter header */ short int len_prev; time_t timeinfo; /* full time info */ time_t lastsync; /* full time info of last sync */ short int spare0; short int spare1; short int spare2; short int spare3; unsigned long checksum; } quarter; #define SIZE_QUART 24 typedef struct main_head_struct { short int indic; /* length of struct * -1 */ short int len_prev; char pix_name[14]; time_t main_time; double line_frequ; float HBL; float HBR; float HFR; short int mid_pix; short int gate1; short int gate2; float XSCALE0_1; float XSCALE0_2; float L0_1; float L0_2; short int oeu_nr; short int format; short int dat_gen; short int dat_rev; short int frt; } main_head; #define SIZE_MAINH_4 74 typedef struct main_head_struct_3 { short int indic; /* length of struct * -1 */ short int len_prev; char pix_name[14]; time_t main_time; double line_frequ; float HBL; float HBR; float HFR; short int gate1; short int gate2; float XSCALE0_1; float XSCALE0_2; float L0_1; float L0_2; short int oeu_nr; short int format; short int dat_gen; short int dat_rev; short int frt; } main_head_3; #define SIZE_MAINH_3 72 typedef struct main_head_struct_o { short int indic; /* length of struct * -1 */ short int len_prev; char pix_name[14]; time_t main_time; double line_frequ; float DELTA_H; short int gate1; short int gate2; float XSCALE0_1; float XSCALE0_2; float L0_1; float L0_2; short int oeu_nr; short int format; short int dat_gen; short int dat_rev; short int frt; } main_head_o; #define SIZE_MAINH_O 64