00001 #ifndef xabitmdef_h 00002 #define xabitmdef_h 00003 00004 #define XAB_C_ITM 36 00005 00006 #define XAB_M_WASCONTIG 0x1 00007 #define XAB_M_NOBACKUP 0x2 00008 #define XAB_M_WRITEBACK 0x4 00009 #define XAB_M_READCHECK 0x8 00010 #define XAB_M_WRITCHECK 0x10 00011 #define XAB_M_CONTIGB 0x20 00012 #define XAB_M_LOCKED 0x40 00013 #define XAB_M_CONTIG 0x80 00014 #define XAB_M_RESERVED1 0x100 00015 #define XAB_M_RESERVED2 0x200 00016 #define XAB_M_RESERVED3 0x400 00017 #define XAB_M_BADACL 0x800 00018 #define XAB_M_SPOOL 0x1000 00019 #define XAB_M_DIRECTORY 0x2000 00020 #define XAB_M_BADBLOCK 0x4000 00021 #define XAB_M_MARKDEL 0x8000 00022 #define XAB_M_NOCHARGE 0x10000 00023 #define XAB_M_ERASE 0x20000 00024 #define XAB_M_RESERVED4 0x40000 00025 #define XAB_M_SHELVED 0x80000 00026 #define XAB_M_RESERVED6 0x100000 00027 #define XAB_M_NOMOVE 0x200000 00028 #define XAB_M_NOSHELVABLE 0x400000 00029 #define XAB_M_PRESHELVED 0x800000 00030 00031 struct _uchar_flags { 00032 unsigned xab_v_wascontig : 1; 00033 unsigned xab_v_nobackup : 1; 00034 unsigned xab_v_writeback : 1; 00035 unsigned xab_v_readcheck : 1; 00036 unsigned xab_v_writcheck : 1; 00037 unsigned xab_v_contigb : 1; 00038 unsigned xab_v_locked : 1; 00039 unsigned xab_v_contig : 1; 00040 unsigned xab_v_reserved1 : 1; 00041 unsigned xab_v_reserved2 : 1; 00042 unsigned xab_v_reserved3 : 1; 00043 unsigned xab_v_badacl : 1; 00044 unsigned xab_v_spool : 1; 00045 unsigned xab_v_directory : 1; 00046 unsigned xab_v_badblock : 1; 00047 unsigned xab_v_markdel : 1; 00048 unsigned xab_v_nocharge : 1; 00049 unsigned xab_v_erase : 1; 00050 unsigned xab_v_reserved4 : 1; 00051 unsigned xab_v_shelved : 1; 00052 unsigned xab_v_reserved6 : 1; 00053 unsigned xab_v_nomove : 1; 00054 unsigned xab_v_noshelvable : 1; 00055 unsigned xab_v_preshelved : 1; 00056 }; 00057 00058 #define XAB__NET_BUFFER_SIZE 1 00059 #define XAB__NET_BLOCK_COUNT 2 00060 #define XAB__NET_REMOTE_SYSTEM 3 00061 #define XAB__NET_REMOTE_FILE_SYSTEM 4 00062 #define XAB__NET_EXTPROT 5 00063 #define XAB__NET_SYSCAP_LOCAL 6 00064 #define XAB__NET_SYSCAP_REMOTE 7 00065 #define XAB__NET_DAPVER_LOCAL 8 00066 #define XAB__NET_DAPVER_REMOTE 9 00067 #define XAB__NET_LINK_TIMEOUT 10 00068 #define XAB__NET_DATA_CRC_ENABLE 11 00069 #define XAB__NET_LINK_CACHE_ENABLE 12 00070 00071 #define XAB_K_NET_MIN 1 00072 #define XAB_K_NET_MAX 12 00073 #define XAB__STAT_ENABLE 64 00074 #define XAB__FILE_LENGTH_HINT 65 00075 #define XAB_K_STAT_MIN 64 00076 #define XAB_K_STAT_MAX 65 00077 #define XAB__UCHAR 128 00078 #define XAB__UCHAR_WASCONTIG 129 00079 #define XAB__UCHAR_NOBACKUP 130 00080 #define XAB__UCHAR_WRITEBACK 131 00081 #define XAB__UCHAR_READCHECK 132 00082 #define XAB__UCHAR_WRITECHECK 133 00083 #define XAB__UCHAR_CONTIGB 134 00084 #define XAB__UCHAR_LOCKED 135 00085 #define XAB__UCHAR_CONTIG 136 00086 #define XAB__UCHAR_BADACL 137 00087 #define XAB__UCHAR_SPOOL 138 00088 #define XAB__UCHAR_DIRECTORY 139 00089 #define XAB__UCHAR_BADBLOCK 140 00090 #define XAB__UCHAR_MARKDEL 141 00091 #define XAB__UCHAR_NOCHARGE 142 00092 #define XAB__UCHAR_ERASE 143 00093 #define XAB__UCHAR_NOMOVE 144 00094 #define XAB__UCHAR_SHELVED 145 00095 #define XAB__UCHAR_NOSHELVABLE 146 00096 #define XAB__UCHAR_PRESHELVED 147 00097 #define XAB_K_UCHAR_MIN 128 00098 #define XAB_K_UCHAR_MAX 147 00099 #define XAB__STORED_SEMANTICS 192 00100 #define XAB__ACCESS_SEMANTICS 193 00101 #define XAB__RMS_EXTENSION 194 00102 #define XAB_K_XLATE_MIN 192 00103 #define XAB_K_XLATE_MAX 194 00104 #define XAB_C_SEMANTICS_MAX_LEN 64 00105 #define XAB_K_SEMANTICS_MAX_LEN 64 00106 #define XAB__MULTIBUFFER_COUNT 256 00107 00108 #define XAB__NORECORD 257 00109 00110 #define XAB__RECOVERY 258 00111 00112 #define XAB__RUJVOLNAM 259 00113 #define XAB__GBC_LONG 260 00114 #define XAB_K_MISC_MIN 256 00115 #define XAB_K_MISC_MAX 260 00116 #define XAB__TID 320 00117 #define XAB_K_TID_MIN 320 00118 #define XAB_K_TID_MAX 320 00119 #define XAB__CACHING_OPTIONS 384 00120 #define XAB__CACHING_ATTRIBUTE 385 00121 #define XAB_K_CACHING_OPTIONS_MIN 384 00122 #define XAB_K_CACHING_OPTIONS_MAX 385 00123 #define XAB_K_SENSEMODE 1 00124 #define XAB_K_SETMODE 2 00125 00126 struct _xabitmdef { 00127 unsigned char xab_b_cod; 00128 unsigned char xab_b_bln; 00129 short int xabitmdef_$_fill_1; 00130 void *xab_l_nxt; 00131 void *xab_l_itemlist; 00132 unsigned char xab_b_mode; 00133 char xab_b_itm_fill1 [3]; 00134 unsigned int xab_il_itm_fill2 [4]; 00135 }; 00136 00137 #define XAB_K_ITMLEN 32 00138 #define XAB_C_ITMLEN 32 00139 00140 #define XAB_M_FILE_ATTRIBUTES 0xF 00141 #define XAB_M_FILE_CONTENTS 0xF0 00142 #define XAB_K_DEFAULT 0 00143 #define XAB_K_WRITETHROUGH 1 00144 #define XAB_K_WRITEBEHIND 2 00145 #define XAB_K_NOCACHING 3 00146 #define XAB_M_FLUSH_ON_CLOSE 0xF00 00147 #define XAB_K_FLUSH 1 00148 #define XAB_K_NOFLUSH 2 00149 #define XAB_M_CACHECTL_MBZ 0xFFFFF000 00150 00151 struct _xab_caching_options_flags { 00152 unsigned xab_v_file_attributes : 4; 00153 unsigned xab_v_file_contents : 4; 00154 unsigned xab_v_flush_on_close : 4; 00155 unsigned xab_v_cachectl_mbz : 20; 00156 }; 00157 00158 #define XAB_M_RCF_RU 0x1 00159 #define XAB_M_RCF_AI 0x2 00160 #define XAB_M_RCF_BI 0x4 00161 #define XAB_M_RCF_NOPAD 0x8 00162 00163 struct _xab_rcf_flags { 00164 unsigned xab_v_rcf_ru : 1; 00165 unsigned xab_v_rcf_ai : 1; 00166 unsigned xab_v_rcf_bi : 1; 00167 unsigned xab_v_rcf_nopad : 1; 00168 unsigned xab_v_fill_17_ : 4; 00169 }; 00170 00171 #define XAB_K_DISABLE 0 00172 #define XAB_K_ENABLE 1 00173 #define XAB_K_RT11 1 00174 #define XAB_K_RSTS 2 00175 #define XAB_K_RSX11S 3 00176 #define XAB_K_RSX11M 4 00177 #define XAB_K_RSX11D 5 00178 #define XAB_K_IAS 6 00179 #define XAB_K_VAXVMS 7 00180 #define XAB_K_TOPS20 8 00181 #define XAB_K_TOPS10 9 00182 #define XAB_K_RTS8 10 00183 #define XAB_K_OS8 11 00184 #define XAB_K_RSX11MP 12 00185 #define XAB_K_COPOS11 13 00186 #define XAB_K_P_OS 14 00187 #define XAB_K_VAXELN 15 00188 #define XAB_K_CPM 16 00189 #define XAB_K_MS_DOS 17 00190 #define XAB_K_ULTRIX_32 18 00191 #define XAB_K_ULTRIX_11 19 00192 #define XAB_K_RMS11 1 00193 #define XAB_K_RMS20 2 00194 #define XAB_K_RMS32 3 00195 #define XAB_K_FCS11 4 00196 #define XAB_K_RT11FS 5 00197 #define XAB_K_NO_FS 6 00198 #define XAB_K_TOPS20FS 7 00199 #define XAB_K_TOPS10FS 8 00200 #define XAB_K_OS8FS 9 00201 #define XAB_K_RMS32S 10 00202 #define XAB_K_CPMFS 11 00203 #define XAB_K_MS_DOSFS 12 00204 #define XAB_K_ULTRIX32_FS 13 00205 #define XAB_K_ULTRIX11_FS 14 00206 #define XAB_M_NET_NOREAD 0x1 00207 #define XAB_M_NET_NOWRITE 0x2 00208 #define XAB_M_NET_NOEXECUTE 0x4 00209 #define XAB_M_NET_NODELETE 0x8 00210 #define XAB_M_NET_NOAPPEND 0x10 00211 #define XAB_M_NET_NODIRECTORY 0x20 00212 #define XAB_M_NET_NOUPDATE 0x40 00213 #define XAB_M_NET_NOCHANGE 0x80 00214 #define XAB_M_NET_NOEXTEND 0x100 00215 00216 struct _xabnetextprot { 00217 union { 00218 unsigned short int xab_w_system_acc; 00219 struct { 00220 unsigned xab_v_net_noread : 1; 00221 unsigned xab_v_net_nowrite : 1; 00222 unsigned xab_v_net_noexecute : 1; 00223 unsigned xab_v_net_nodelete : 1; 00224 unsigned xab_v_net_noappend : 1; 00225 unsigned xab_v_net_nodirectory : 1; 00226 unsigned xab_v_net_noupdate : 1; 00227 unsigned xab_v_net_nochange : 1; 00228 unsigned xab_v_net_noextend : 1; 00229 unsigned xab_v_fill_20_ : 7; 00230 }; 00231 }; 00232 unsigned short int xab_w_owner_acc; 00233 unsigned short int xab_w_group_acc; 00234 unsigned short int xab_w_world_acc; 00235 }; 00236 00237 struct _xabnetdapver { 00238 unsigned char xab_b_ver_dap; 00239 unsigned char xab_b_ver_eco; 00240 unsigned char xab_b_ver_cus; 00241 unsigned char xab_b_ver_dsv; 00242 unsigned char xab_b_ver_csv; 00243 }; 00244 00245 struct _xabnetcapdef { 00246 unsigned xab_v_cap_filall : 1; 00247 unsigned xab_v_cap_seqorg : 1; 00248 unsigned xab_v_cap_relorg : 1; 00249 unsigned xab_v_cap_fill_21 : 1; 00250 unsigned xab_v_cap_extend : 1; 00251 unsigned xab_v_cap_seqfil : 1; 00252 unsigned xab_v_cap_ranrrn : 1; 00253 unsigned xab_v_cap_ranvbn : 1; 00254 unsigned xab_v_cap_rankey : 1; 00255 unsigned xab_v_cap_fill_22 : 1; 00256 unsigned xab_v_cap_ranrfa : 1; 00257 unsigned xab_v_cap_idxorg : 1; 00258 unsigned xab_v_cap_swmode : 1; 00259 unsigned xab_v_cap_append : 1; 00260 unsigned xab_v_cap_submit : 1; 00261 unsigned xab_v_cap_fill_23 : 1; 00262 unsigned xab_v_cap_mds : 1; 00263 unsigned xab_v_cap_display : 1; 00264 unsigned xab_v_cap_msgblk : 1; 00265 unsigned xab_v_cap_unrblk : 1; 00266 unsigned xab_v_cap_bigblk : 1; 00267 unsigned xab_v_cap_dapcrc : 1; 00268 unsigned xab_v_cap_keyxab : 1; 00269 unsigned xab_v_cap_allxab : 1; 00270 unsigned xab_v_cap_sumxab : 1; 00271 unsigned xab_v_cap_directory : 1; 00272 unsigned xab_v_cap_timxab : 1; 00273 unsigned xab_v_cap_proxab : 1; 00274 unsigned xab_v_cap_fill_24 : 1; 00275 unsigned xab_v_cap_fopspl : 1; 00276 unsigned xab_v_cap_fopscf : 1; 00277 unsigned xab_v_cap_fopdlt : 1; 00278 unsigned xab_v_cap_fill_26 : 1; 00279 unsigned xab_v_cap_seqrac : 1; 00280 unsigned xab_v_cap_fill_27 : 1; 00281 unsigned xab_v_cap_bitopt : 1; 00282 unsigned xab_v_cap_warning : 1; 00283 unsigned xab_v_cap_rename : 1; 00284 unsigned xab_v_cap_wildcard : 1; 00285 unsigned xab_v_cap_gngopt : 1; 00286 unsigned xab_v_cap_nammsg : 1; 00287 unsigned xab_v_cap_segmsg : 1; 00288 unsigned xab_v_cap_chgattcls : 1; 00289 unsigned xab_v_cap_chgtimcls : 1; 00290 unsigned xab_v_cap_chgprocls : 1; 00291 unsigned xab_v_cap_chgnamcls : 1; 00292 unsigned xab_v_cap_modattcre : 1; 00293 unsigned xab_v_cap_nam3part : 1; 00294 unsigned xab_v_cap_chgattren : 1; 00295 unsigned xab_v_cap_chgtimren : 1; 00296 unsigned xab_v_cap_chgproren : 1; 00297 unsigned xab_v_cap_ctlblkcnt : 1; 00298 unsigned xab_v_cap_octalver : 1; 00299 unsigned xab_v_fill_21_ : 3; 00300 }; 00301 00302 #define XAB_S_BUFFER_SIZE 4 00303 #define XAB_S_NETWORK_BLOCK_COUNT 4 00304 #define XAB_S_REMOTE_SYSTEM 4 00305 #define XAB_S_REMOTE_FILE_SYSTEM 4 00306 #define XAB_S_EXTPROT_LOCAL 8 00307 #define XAB_S_EXTPROT_REMOTE 8 00308 #define XAB_S_CAPABIL_LOCAL 8 00309 #define XAB_S_CAPABIL_REMOTE 8 00310 #define XAB_S_DAPVER_LOCAL 5 00311 #define XAB_S_DAPVER_REMOTE 5 00312 #define XAB_S_CACHE_TMO 4 00313 #define XAB_S_HINT_LENGTH 16 00314 #define XAB_S_GBC_LONG_LENGTH 4 00315 00316 #endif 00317 00318