00001 #ifndef fibdef_h
00002 #define fibdef_h
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #define FIB_M_NOWRITE 0x1
00017 #define FIB_M_DLOCK 0x2
00018 #define FIB_M_BLK_LOCK 0x4
00019 #define FIB_M_FASTRDSQNOS 0x8
00020 #define FIB_M_SPOOL 0x10
00021 #define FIB_M_WRITECK 0x20
00022 #define FIB_M_SEQONLY 0x40
00023 #define FIB_M_SEQNO 0x80
00024 #define FIB_M_WRITE 0x100
00025 #define FIB_M_READCK 0x200
00026 #define FIB_M_NOREAD 0x400
00027 #define FIB_M_NOTRUNC 0x800
00028 #define FIB_M_CONTROL 0x1000
00029 #define FIB_M_NO_READ_DATA 0x2000
00030 #define FIB_M_EXECUTE 0x10000
00031 #define FIB_M_PRSRV_ATR 0x20000
00032 #define FIB_M_RMSLOCK 0x40000
00033 #define FIB_M_WRITETHRU 0x80000
00034 #define FIB_M_NOLOCK 0x100000
00035 #define FIB_M_NORECORD 0x200000
00036 #define FIB_M_NOVERIFY 0x400000
00037 #define FIB_M_CHANGE_VOL 0x800000
00038 #define FIB_M_REWIND 0x8
00039 #define FIB_M_CURPOS 0x10
00040 #define FIB_M_UPDATE 0x40
00041 #define FIB_K_ACCDATA 10
00042 #define FIB_C_ACCDATA 10
00043 #define FIB_K_DIRDATA 22
00044 #define FIB_C_DIRDATA 22
00045 #define FIB_M_NAMES_8BIT 0x1
00046 #define FIB_M_NAMES_16BIT 0x2
00047 #define FIB_M_PERCENT_LITERAL 0x4
00048 #define FIB_M_ALLVER 0x8
00049 #define FIB_M_ALLTYP 0x10
00050 #define FIB_M_ALLNAM 0x20
00051 #define FIB_M_WILD 0x100
00052 #define FIB_M_NEWVER 0x200
00053 #define FIB_M_SUPERSEDE 0x400
00054 #define FIB_M_FINDFID 0x800
00055 #define FIB_M_LOWVER 0x4000
00056 #define FIB_M_HIGHVER 0x8000
00057 #define FIB_M_ALCON 0x1
00058 #define FIB_M_ALCONB 0x2
00059 #define FIB_M_FILCON 0x4
00060 #define FIB_M_ALDEF 0x8
00061 #define FIB_M_ALLOCATR 0x10
00062 #define FIB_M_EXTEND 0x80
00063 #define FIB_M_TRUNC 0x100
00064 #define FIB_M_NOHDREXT 0x200
00065 #define FIB_M_MARKBAD 0x400
00066 #define FIB_M_NOPLACE 0x4000
00067 #define FIB_M_NOCHARGE 0x8000
00068 #define FIB_K_EXTDATA 32
00069 #define FIB_C_EXTDATA 32
00070 #define FIB_M_EXACT 0x1
00071 #define FIB_M_ONCYL 0x2
00072 #define FIB_C_CYL 1
00073 #define FIB_C_LBN 2
00074 #define FIB_C_VBN 3
00075 #define FIB_C_RFI 4
00076 #define FIB_K_ALCDATA 44
00077 #define FIB_C_ALCDATA 44
00078 #define FIB_M_ALT_REQ 0x1
00079 #define FIB_M_ALT_GRANTED 0x2
00080 #define FIB_M_DIRACL 0x4
00081 #define FIB_M_PROPAGATE 0x8
00082 #define FIB_M_NOCOPYACL 0x10
00083 #define FIB_M_NOCOPYOWNER 0x20
00084 #define FIB_M_NOCOPYPROT 0x40
00085 #define FIB_M_EXCLPREVIOUS 0x80
00086 #define FIB_M_ALIAS_ENTRY 0x100
00087 #define FIB_M_WILDFID_FLAG 0x200
00088 #define FIB_M_DID_FILESPEC 0x400
00089 #define FIB_K_MOVEFILE 72
00090 #define FIB_C_MOVEFILE 72
00091 #define FIB_M_FILE_ATTRIBUTES 0xF
00092 #define FIB_M_FILE_CONTENTS 0xF0
00093 #define FIB_C_DEFAULT 0
00094 #define FIB_C_WRITETHROUGH 1
00095 #define FIB_C_WRITEBEHIND 2
00096 #define FIB_C_NOCACHING 3
00097 #define FIB_M_FLUSH_ON_CLOSE 0xF00
00098 #define FIB_C_FLUSH 1
00099 #define FIB_C_NOFLUSH 2
00100 #define FIB_M_CACHING_OPTIONS_MBZ 0xFFFFF000
00101 #define FIB_C_ODS2 0
00102 #define FIB_C_ISL1 1
00103 #define FIB_C_ISO_LATIN 1
00104 #define FIB_C_UCS2 3
00105 #define FIB_C_NAMETYPE_LEN 96
00106 #define FIB_K_LENGTH 96
00107 #define FIB_C_LENGTH 96
00108 #define FIB_K_F64LEN 96
00109 #define FIB_C_F64LEN 96
00110
00111 #define FIB_C_REWINDVOL 1
00112 #define FIB_C_POSEND 2
00113 #define FIB_C_NEXTVOL 3
00114 #define FIB_C_SPACE 4
00115 #define FIB_C_ILLEGAL 5
00116 #define FIB_C_REWINDFIL 6
00117 #define FIB_C_LOCK_VOL 7
00118 #define FIB_C_UNLK_VOL 8
00119
00120 #define FIB_C_ENA_QUOTA 9
00121 #define FIB_C_DSA_QUOTA 10
00122 #define FIB_C_ADD_QUOTA 11
00123 #define FIB_C_EXA_QUOTA 12
00124 #define FIB_C_MOD_QUOTA 13
00125 #define FIB_C_REM_QUOTA 14
00126 #define FIB_C_USEREOT 15
00127 #define FIB_C_REMAP 16
00128 #define FIB_C_CLSEREXCP 17
00129 #define FIB_C_FLUSH_CACHE 18
00130 #define FIB_C_FORCE_MV 19
00131 #define FIB_C_VALIDATE_VOLUME 20
00132 #define FIB_C_VALIDATE_FILE 21
00133 #define FIB_C_UPDATE_VOL_PROFILE 22
00134 #define FIB_C_UPDATE_FIL_PROFILE 23
00135 #define FIB_C_CHECK_PROTECTION 24
00136 #define FIB_C_ADD_THREAD 25
00137 #define FIB_C_REM_THREAD 26
00138 #define FIB_C_EXA_THREAD 27
00139 #define FIB_C_CHECK_PATH 28
00140 #define FIB_C_ENA_DW 29
00141 #define FIB_C_DSA_DW 30
00142 #define FIB_K_MTALEN 28
00143 #define FIB_C_MTALEN 28
00144
00145 #define FIB_C_FID_CACHE 1
00146 #define FIB_C_EXTENT_CACHE 2
00147 #define FIB_C_QUOTA_CACHE 3
00148 #define FIB_C_BFRD_CACHE 4
00149 #define FIB_C_VBN_CACHE 5
00150
00151 #define FIB_M_ALL_MEM 0x1
00152 #define FIB_M_ALL_GRP 0x2
00153 #define FIB_M_MOD_USE 0x4
00154 #define FIB_M_MOD_PERM 0x8
00155 #define FIB_M_MOD_OVER 0x10
00156
00157 struct _fibdef {
00158 unsigned fib_l_acctl;
00159 unsigned short fib_w_fid_num;
00160 unsigned short fib_w_fid_seq;
00161 unsigned char fib_b_fid_rvn;
00162 unsigned char fib_b_fid_nmx;
00163 unsigned short fib_w_did_num;
00164 unsigned short fib_w_did_seq;
00165 unsigned char fib_b_did_rvn;
00166 unsigned char fib_b_did_nmx;
00167 unsigned long fib_l_wcc;
00168 unsigned fib_w_nmctl;
00169 unsigned fib_l_exsz;
00170 unsigned fib_w_exctl;
00171 unsigned short fib_w_file_hdrseq_incr;
00172 unsigned short fib_w_dir_hdrseq_incr;
00173 };
00174
00175 #endif
00176