00001 #ifndef ifbdef_h 00002 #define ifbdef_h 00003 00004 // Author. Roar Thronęs. 00005 00006 // based on / taken from rmsint2.doc 00007 00008 #include <fatdef.h> 00009 00010 struct _ifbdef { 00011 unsigned char ifb_b_bid; // block id (13) 00012 struct { 00013 unsigned ifb_v_busy : 1; // stream busy 00014 unsigned ifb_v_iop : 1; // i/o pending on stream (seq file only) 00015 unsigned ifb_v_prv : 1; // private i/o buffer pool for file 00016 unsigned ifb_v_eof : 1; // file positioned at eof 00017 unsigned ifb_v_rwc : 1; // rewind on close 00018 unsigned ifb_v_dfw : 1; // deferred write 00019 unsigned ifb_v_acc : 1; // file is accessed (cleared on close) 00020 unsigned ifb_v_ani : 1; // ansi d variable recored 00021 }; 00022 unsigned long ifb_l_irab_lnk ; 00023 void * ifb_l_nirb; // next 00024 unsigned char ifb_b_ubsz ; // user buffer size 00025 unsigned short ifb_w_chnl ; // channel 00026 unsigned char ifb_b_facc; // file access 00027 unsigned char ifb_b_dvch; // device characteristics 00028 unsigned int ifb_l_devchar; 00029 unsigned int ifb_l_devchar2; 00030 unsigned long ifb_l_bdb; 00031 unsigned long ifb_l_ifab_lnk ; 00032 unsigned long long ifb_q_pool ; 00033 unsigned long ifb_l_mrn; 00034 00035 struct _fatdef ifb_w_recattr; 00036 00037 }; 00038 00039 #endif 00040