home *** CD-ROM | disk | FTP | other *** search
- /* Created by SDL V3.1-7 */
- /* Source: 6-FEB-1991 13:29:17 $DISKU:[ERIC.UNSDL]STARDEFFL.SDI;1 */
- #ifndef $FIBDEF_H
- #define $FIBDEF_H
-
- /*** MODULE $FIBDEF ***/
- #define FIB$M_NOWRITE 0x00000001
- #define FIB$M_DLOCK 0x00000002
- #define FIB$M_BLK_LOCK 0x00000004
- #define FIB$M_SPOOL 0x00000010
- #define FIB$M_WRITECK 0x00000020
- #define FIB$M_SEQONLY 0x00000040
- #define FIB$M_WRITE 0x00000100
- #define FIB$M_READCK 0x00000200
- #define FIB$M_NOREAD 0x00000400
- #define FIB$M_NOTRUNC 0x00000800
- #define FIB$M_CONTROL 0x00001000
- #define FIB$M_EXECUTE 0x00010000
- #define FIB$M_PRSRV_ATR 0x00020000
- #define FIB$M_RMSLOCK 0x00040000
- #define FIB$M_WRITETHRU 0x00080000
- #define FIB$M_NOLOCK 0x00100000
- #define FIB$M_NORECORD 0x00200000
- #define FIB$M_REWIND 0x00000008
- #define FIB$M_CURPOS 0x00000010
- #define FIB$M_UPDATE 0x00000040
- #define FIB$K_ACCDATA 10
- #define FIB$C_ACCDATA 10
- #define FIB$K_DIRDATA 22
- #define FIB$C_DIRDATA 22
- #define FIB$M_ALLVER 0x00000008
- #define FIB$M_ALLTYP 0x00000010
- #define FIB$M_ALLNAM 0x00000020
- #define FIB$M_WILD 0x00000100
- #define FIB$M_NEWVER 0x00000200
- #define FIB$M_SUPERSEDE 0x00000400
- #define FIB$M_FINDFID 0x00000800
- #define FIB$M_LOWVER 0x00004000
- #define FIB$M_HIGHVER 0x00008000
- #define FIB$M_ALCON 0x00000001
- #define FIB$M_ALCONB 0x00000002
- #define FIB$M_FILCON 0x00000004
- #define FIB$M_ALDEF 0x00000008
- #define FIB$M_ALLOCATR 0x00000010
- #define FIB$M_EXTEND 0x00000080
- #define FIB$M_TRUNC 0x00000100
- #define FIB$M_NOHDREXT 0x00000200
- #define FIB$M_MARKBAD 0x00000400
- #define FIB$M_NOCHARGE 0x00008000
- #define FIB$K_EXTDATA 32
- #define FIB$C_EXTDATA 32
- #define FIB$M_EXACT 0x00000001
- #define FIB$M_ONCYL 0x00000002
- #define FIB$C_CYL 1
- #define FIB$C_LBN 2
- #define FIB$C_VBN 3
- #define FIB$C_RFI 4
- #define FIB$K_ALCDATA 44
- #define FIB$C_ALCDATA 44
- #define FIB$M_ALT_REQ 0x00000001
- #define FIB$M_ALT_GRANTED 0x00000002
- #define FIB$M_DIRACL 0x00000004
- #define FIB$M_PROPAGATE 0x00000008
- #define FIB$K_LENGTH 64
- #define FIB$C_LENGTH 64
- struct fibdef {
- union {
- unsigned long int fib$l_acctl;
- struct {
- unsigned fib$v_nowrite : 1;
- unsigned fib$v_dlock : 1;
- unsigned fib$v_blk_lock : 1;
- unsigned fibdef$$_fill_1 : 1;
- unsigned fib$v_spool : 1;
- unsigned fib$v_writeck : 1;
- unsigned fib$v_seqonly : 1;
- unsigned fibdef$$_fill_2 : 1;
- unsigned fib$v_write : 1;
- unsigned fib$v_readck : 1;
- unsigned fib$v_noread : 1;
- unsigned fib$v_notrunc : 1;
- unsigned fib$v_control : 1;
- unsigned fibdef$$_fill_3 : 3;
- unsigned fib$v_execute : 1;
- unsigned fib$v_prsrv_atr : 1;
- unsigned fib$v_rmslock : 1;
- unsigned fib$v_writethru : 1;
- unsigned fib$v_nolock : 1;
- unsigned fib$v_norecord : 1;
- unsigned fibdef$$_fill_4 : 2;
- } fib$r_acctl_bits0;
- struct {
- unsigned fibdef$$_fill_5 : 3;
- unsigned fib$v_rewind : 1;
- unsigned fib$v_curpos : 1;
- unsigned fibdef$$_fill_6 : 1;
- unsigned fib$v_update : 1;
- unsigned fib$v_fill_1 : 1;
- } fib$r_acctl_bits1;
- struct {
- char fibdef$$_fill_13 [3];
- char fib$b_wsize;
- } fib$r_acctl_fields2;
- } fib$r_acctl_overlay;
- union {
- unsigned short int fib$w_fid [3];
- struct {
- unsigned short int fib$w_fid_num;
- unsigned short int fib$w_fid_seq;
- union {
- unsigned short int fib$w_fid_rvn;
- struct {
- unsigned char fib$b_fid_rvn;
- unsigned char fib$b_fid_nmx;
- } fib$r_fid_rvn_fields;
- } fib$r_fid_rvn_overlay;
- } fib$r_fid_fields;
- } fib$r_fid_overlay;
- union {
- unsigned short int fib$w_did [3];
- struct {
- unsigned short int fib$w_did_num;
- unsigned short int fib$w_did_seq;
- union {
- unsigned short int fib$w_did_rvn;
- struct {
- unsigned char fib$b_did_rvn;
- unsigned char fib$b_did_nmx;
- } fib$r_did_rvn_fields;
- } fib$r_did_rvn_overlay;
- } fib$r_did_fields;
- } fib$r_did_overlay;
- unsigned long int fib$l_wcc;
- union {
- unsigned short int fib$w_nmctl;
- struct {
- unsigned fibdef$$_fill_7 : 3;
- unsigned fib$v_allver : 1;
- unsigned fib$v_alltyp : 1;
- unsigned fib$v_allnam : 1;
- unsigned fibdef$$_fill_8 : 2;
- unsigned fib$v_wild : 1;
- unsigned fib$v_newver : 1;
- unsigned fib$v_supersede : 1;
- unsigned fib$v_findfid : 1;
- unsigned fibdef$$_fill_9 : 2;
- unsigned fib$v_lowver : 1;
- unsigned fib$v_highver : 1;
- } fib$r_nmctl_bits;
- } fib$r_nmctl_overlay;
- union {
- unsigned short int fib$w_exctl;
- struct {
- unsigned fib$v_alcon : 1;
- unsigned fib$v_alconb : 1;
- unsigned fib$v_filcon : 1;
- unsigned fib$v_aldef : 1;
- unsigned fib$v_allocatr : 1;
- unsigned fibdef$$_fill_10 : 2;
- unsigned fib$v_extend : 1;
- unsigned fib$v_trunc : 1;
- unsigned fib$v_nohdrext : 1;
- unsigned fib$v_markbad : 1;
- unsigned fibdef$$_fill_11 : 4;
- unsigned fib$v_nocharge : 1;
- } fib$r_exctl_bits;
- } fib$r_exctl_overlay;
- unsigned long int fib$l_exsz;
- unsigned long int fib$l_exvbn;
- union {
- unsigned char fib$b_alopts;
- struct {
- unsigned fib$v_exact : 1;
- unsigned fib$v_oncyl : 1;
- unsigned fib$v_fill_2 : 6;
- } fib$r_alopts_bits;
- } fib$r_alopts_overlay;
- unsigned char fib$b_alalign;
- union {
- unsigned short int fib$w_alloc [5];
- struct {
- union {
- unsigned short int fib$w_loc_fid [3];
- struct {
- unsigned short int fib$w_loc_num;
- unsigned short int fib$w_loc_seq;
- union {
- unsigned short int fib$w_loc_rvn;
- struct {
- unsigned char fib$b_loc_rvn;
- unsigned char fib$b_loc_nmx;
- } fib$r_loc_rvn_fields;
- } fib$r_loc_rvn_overlay;
- } fib$r_loc_fid_fields;
- } fib$r_loc_fid_overlay;
- unsigned long int fib$l_loc_addr;
- } fib$r_alloc_fields;
- } fib$r_alloc_overlay;
- unsigned short int fib$w_verlimit;
- unsigned char fib$b_agent_mode;
- unsigned char fib$b_ru_facility;
- unsigned long int fib$l_aclctx;
- unsigned long int fib$l_acl_status;
- union {
- unsigned long int fib$l_status;
- struct {
- unsigned fib$v_alt_req : 1;
- unsigned fib$v_alt_granted : 1;
- unsigned fib$v_diracl : 1;
- unsigned fib$v_propagate : 1;
- unsigned fib$v_fill_3 : 4;
- } fib$r_status_bits;
- } fib$r_status_overlay;
- unsigned long int fib$l_alt_access;
- } ;
- #define FIB$C_REWINDVOL 1
- #define FIB$C_POSEND 2
- #define FIB$C_NEXTVOL 3
- #define FIB$C_SPACE 4
- #define FIB$C_ILLEGAL 5
- #define FIB$C_REWINDFIL 6
- #define FIB$C_LOCK_VOL 7
- #define FIB$C_UNLK_VOL 8
- #define FIB$C_ENA_QUOTA 9
- #define FIB$C_DSA_QUOTA 10
- #define FIB$C_ADD_QUOTA 11
- #define FIB$C_EXA_QUOTA 12
- #define FIB$C_MOD_QUOTA 13
- #define FIB$C_REM_QUOTA 14
- #define FIB$C_USEREOT 15
- #define FIB$C_REMAP 16
- #define FIB$C_CLSEREXCP 17
- #define FIB$C_FLUSH_CACHE 18
- #define FIB$C_FORCE_MV 19
- #define FIB$K_MTALEN 28
- #define FIB$C_MTALEN 28
- #define FIB$C_FID_CACHE 1
- #define FIB$C_EXTENT_CACHE 2
- #define FIB$C_QUOTA_CACHE 3
- #define FIB$M_ALL_MEM 0x00000001
- #define FIB$M_ALL_GRP 0x00000002
- #define FIB$M_MOD_USE 0x00000004
- #define FIB$M_MOD_PERM 0x00000008
- #define FIB$M_MOD_OVER 0x00000010
- struct fibdef1 {
- char fibdef$$_fill_14 [22];
- unsigned short int fib$w_cntrlfunc;
- union {
- unsigned long int fib$l_cntrlval;
- struct {
- unsigned fib$v_all_mem : 1;
- unsigned fib$v_all_grp : 1;
- unsigned fib$v_mod_use : 1;
- unsigned fib$v_mod_perm : 1;
- unsigned fib$v_mod_over : 1;
- unsigned fib$v_fill_4 : 3;
- } fib$r_cntrlval_bits;
- } fib$r_cntrlval_overlay;
- } ;
- #endif
-