home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gccdist / gcc / include / fibdef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-13  |  8.4 KB  |  261 lines

  1. /* Created by SDL V3.1-7     */
  2. /* Source:  6-FEB-1991 13:29:17 $DISKU:[ERIC.UNSDL]STARDEFFL.SDI;1 */
  3. #ifndef $FIBDEF_H
  4. #define $FIBDEF_H
  5.  
  6. /*** MODULE $FIBDEF ***/
  7. #define FIB$M_NOWRITE 0x00000001
  8. #define FIB$M_DLOCK 0x00000002
  9. #define FIB$M_BLK_LOCK 0x00000004
  10. #define FIB$M_SPOOL 0x00000010
  11. #define FIB$M_WRITECK 0x00000020
  12. #define FIB$M_SEQONLY 0x00000040
  13. #define FIB$M_WRITE 0x00000100
  14. #define FIB$M_READCK 0x00000200
  15. #define FIB$M_NOREAD 0x00000400
  16. #define FIB$M_NOTRUNC 0x00000800
  17. #define FIB$M_CONTROL 0x00001000
  18. #define FIB$M_EXECUTE 0x00010000
  19. #define FIB$M_PRSRV_ATR 0x00020000
  20. #define FIB$M_RMSLOCK 0x00040000
  21. #define FIB$M_WRITETHRU 0x00080000
  22. #define FIB$M_NOLOCK 0x00100000
  23. #define FIB$M_NORECORD 0x00200000
  24. #define FIB$M_REWIND 0x00000008
  25. #define FIB$M_CURPOS 0x00000010
  26. #define FIB$M_UPDATE 0x00000040
  27. #define FIB$K_ACCDATA 10
  28. #define FIB$C_ACCDATA 10
  29. #define FIB$K_DIRDATA 22
  30. #define FIB$C_DIRDATA 22
  31. #define FIB$M_ALLVER 0x00000008
  32. #define FIB$M_ALLTYP 0x00000010
  33. #define FIB$M_ALLNAM 0x00000020
  34. #define FIB$M_WILD 0x00000100
  35. #define FIB$M_NEWVER 0x00000200
  36. #define FIB$M_SUPERSEDE 0x00000400
  37. #define FIB$M_FINDFID 0x00000800
  38. #define FIB$M_LOWVER 0x00004000
  39. #define FIB$M_HIGHVER 0x00008000
  40. #define FIB$M_ALCON 0x00000001
  41. #define FIB$M_ALCONB 0x00000002
  42. #define FIB$M_FILCON 0x00000004
  43. #define FIB$M_ALDEF 0x00000008
  44. #define FIB$M_ALLOCATR 0x00000010
  45. #define FIB$M_EXTEND 0x00000080
  46. #define FIB$M_TRUNC 0x00000100
  47. #define FIB$M_NOHDREXT 0x00000200
  48. #define FIB$M_MARKBAD 0x00000400
  49. #define FIB$M_NOCHARGE 0x00008000
  50. #define FIB$K_EXTDATA 32
  51. #define FIB$C_EXTDATA 32
  52. #define FIB$M_EXACT 0x00000001
  53. #define FIB$M_ONCYL 0x00000002
  54. #define FIB$C_CYL 1
  55. #define FIB$C_LBN 2
  56. #define FIB$C_VBN 3
  57. #define FIB$C_RFI 4
  58. #define FIB$K_ALCDATA 44
  59. #define FIB$C_ALCDATA 44
  60. #define FIB$M_ALT_REQ 0x00000001
  61. #define FIB$M_ALT_GRANTED 0x00000002
  62. #define FIB$M_DIRACL 0x00000004
  63. #define FIB$M_PROPAGATE 0x00000008
  64. #define FIB$K_LENGTH 64
  65. #define FIB$C_LENGTH 64
  66. struct fibdef {
  67.     union {
  68.         unsigned long int fib$l_acctl;
  69.         struct {
  70.             unsigned fib$v_nowrite : 1;
  71.             unsigned fib$v_dlock : 1;
  72.             unsigned fib$v_blk_lock : 1;
  73.             unsigned fibdef$$_fill_1 : 1;
  74.             unsigned fib$v_spool : 1;
  75.             unsigned fib$v_writeck : 1;
  76.             unsigned fib$v_seqonly : 1;
  77.             unsigned fibdef$$_fill_2 : 1;
  78.             unsigned fib$v_write : 1;
  79.             unsigned fib$v_readck : 1;
  80.             unsigned fib$v_noread : 1;
  81.             unsigned fib$v_notrunc : 1;
  82.             unsigned fib$v_control : 1;
  83.             unsigned fibdef$$_fill_3 : 3;
  84.             unsigned fib$v_execute : 1;
  85.             unsigned fib$v_prsrv_atr : 1;
  86.             unsigned fib$v_rmslock : 1;
  87.             unsigned fib$v_writethru : 1;
  88.             unsigned fib$v_nolock : 1;
  89.             unsigned fib$v_norecord : 1;
  90.             unsigned fibdef$$_fill_4 : 2;
  91.             } fib$r_acctl_bits0;
  92.         struct {
  93.             unsigned fibdef$$_fill_5 : 3;
  94.             unsigned fib$v_rewind : 1;
  95.             unsigned fib$v_curpos : 1;
  96.             unsigned fibdef$$_fill_6 : 1;
  97.             unsigned fib$v_update : 1;
  98.             unsigned fib$v_fill_1 : 1;
  99.             } fib$r_acctl_bits1;
  100.         struct {
  101.             char fibdef$$_fill_13 [3];
  102.             char fib$b_wsize;
  103.             } fib$r_acctl_fields2;
  104.         } fib$r_acctl_overlay;
  105.     union {
  106.         unsigned short int fib$w_fid [3];
  107.         struct {
  108.             unsigned short int fib$w_fid_num;
  109.             unsigned short int fib$w_fid_seq;
  110.             union {
  111.                 unsigned short int fib$w_fid_rvn;
  112.                 struct {
  113.                     unsigned char fib$b_fid_rvn;
  114.                     unsigned char fib$b_fid_nmx;
  115.                     } fib$r_fid_rvn_fields;
  116.                 } fib$r_fid_rvn_overlay;
  117.             } fib$r_fid_fields;
  118.         } fib$r_fid_overlay;
  119.     union {
  120.         unsigned short int fib$w_did [3];
  121.         struct {
  122.             unsigned short int fib$w_did_num;
  123.             unsigned short int fib$w_did_seq;
  124.             union {
  125.                 unsigned short int fib$w_did_rvn;
  126.                 struct {
  127.                     unsigned char fib$b_did_rvn;
  128.                     unsigned char fib$b_did_nmx;
  129.                     } fib$r_did_rvn_fields;
  130.                 } fib$r_did_rvn_overlay;
  131.             } fib$r_did_fields;
  132.         } fib$r_did_overlay;
  133.     unsigned long int fib$l_wcc;
  134.     union {
  135.         unsigned short int fib$w_nmctl;
  136.         struct {
  137.             unsigned fibdef$$_fill_7 : 3;
  138.             unsigned fib$v_allver : 1;
  139.             unsigned fib$v_alltyp : 1;
  140.             unsigned fib$v_allnam : 1;
  141.             unsigned fibdef$$_fill_8 : 2;
  142.             unsigned fib$v_wild : 1;
  143.             unsigned fib$v_newver : 1;
  144.             unsigned fib$v_supersede : 1;
  145.             unsigned fib$v_findfid : 1;
  146.             unsigned fibdef$$_fill_9 : 2;
  147.             unsigned fib$v_lowver : 1;
  148.             unsigned fib$v_highver : 1;
  149.             } fib$r_nmctl_bits;
  150.         } fib$r_nmctl_overlay;
  151.     union {
  152.         unsigned short int fib$w_exctl;
  153.         struct {
  154.             unsigned fib$v_alcon : 1;
  155.             unsigned fib$v_alconb : 1;
  156.             unsigned fib$v_filcon : 1;
  157.             unsigned fib$v_aldef : 1;
  158.             unsigned fib$v_allocatr : 1;
  159.             unsigned fibdef$$_fill_10 : 2;
  160.             unsigned fib$v_extend : 1;
  161.             unsigned fib$v_trunc : 1;
  162.             unsigned fib$v_nohdrext : 1;
  163.             unsigned fib$v_markbad : 1;
  164.             unsigned fibdef$$_fill_11 : 4;
  165.             unsigned fib$v_nocharge : 1;
  166.             } fib$r_exctl_bits;
  167.         } fib$r_exctl_overlay;
  168.     unsigned long int fib$l_exsz;
  169.     unsigned long int fib$l_exvbn;
  170.     union {
  171.         unsigned char fib$b_alopts;
  172.         struct {
  173.             unsigned fib$v_exact : 1;
  174.             unsigned fib$v_oncyl : 1;
  175.             unsigned fib$v_fill_2 : 6;
  176.             } fib$r_alopts_bits;
  177.         } fib$r_alopts_overlay;
  178.     unsigned char fib$b_alalign;
  179.     union {
  180.         unsigned short int fib$w_alloc [5];
  181.         struct {
  182.             union {
  183.                 unsigned short int fib$w_loc_fid [3];
  184.                 struct {
  185.                     unsigned short int fib$w_loc_num;
  186.                     unsigned short int fib$w_loc_seq;
  187.                     union {
  188.                         unsigned short int fib$w_loc_rvn;
  189.                         struct {
  190.                             unsigned char fib$b_loc_rvn;
  191.                             unsigned char fib$b_loc_nmx;
  192.                             } fib$r_loc_rvn_fields;
  193.                         } fib$r_loc_rvn_overlay;
  194.                     } fib$r_loc_fid_fields;
  195.                 } fib$r_loc_fid_overlay;
  196.             unsigned long int fib$l_loc_addr;
  197.             } fib$r_alloc_fields;
  198.         } fib$r_alloc_overlay;
  199.     unsigned short int fib$w_verlimit;
  200.     unsigned char fib$b_agent_mode;
  201.     unsigned char fib$b_ru_facility;
  202.     unsigned long int fib$l_aclctx;
  203.     unsigned long int fib$l_acl_status;
  204.     union {
  205.         unsigned long int fib$l_status;
  206.         struct {
  207.             unsigned fib$v_alt_req : 1;
  208.             unsigned fib$v_alt_granted : 1;
  209.             unsigned fib$v_diracl : 1;
  210.             unsigned fib$v_propagate : 1;
  211.             unsigned fib$v_fill_3 : 4;
  212.             } fib$r_status_bits;
  213.         } fib$r_status_overlay;
  214.     unsigned long int fib$l_alt_access;
  215. } ;
  216. #define FIB$C_REWINDVOL 1
  217. #define FIB$C_POSEND 2
  218. #define FIB$C_NEXTVOL 3
  219. #define FIB$C_SPACE 4
  220. #define FIB$C_ILLEGAL 5
  221. #define FIB$C_REWINDFIL 6
  222. #define FIB$C_LOCK_VOL 7
  223. #define FIB$C_UNLK_VOL 8
  224. #define FIB$C_ENA_QUOTA 9
  225. #define FIB$C_DSA_QUOTA 10
  226. #define FIB$C_ADD_QUOTA 11
  227. #define FIB$C_EXA_QUOTA 12
  228. #define FIB$C_MOD_QUOTA 13
  229. #define FIB$C_REM_QUOTA 14
  230. #define FIB$C_USEREOT 15
  231. #define FIB$C_REMAP 16
  232. #define FIB$C_CLSEREXCP 17
  233. #define FIB$C_FLUSH_CACHE 18
  234. #define FIB$C_FORCE_MV 19
  235. #define FIB$K_MTALEN 28
  236. #define FIB$C_MTALEN 28
  237. #define FIB$C_FID_CACHE 1
  238. #define FIB$C_EXTENT_CACHE 2
  239. #define FIB$C_QUOTA_CACHE 3
  240. #define FIB$M_ALL_MEM 0x00000001
  241. #define FIB$M_ALL_GRP 0x00000002
  242. #define FIB$M_MOD_USE 0x00000004
  243. #define FIB$M_MOD_PERM 0x00000008
  244. #define FIB$M_MOD_OVER 0x00000010
  245. struct fibdef1 {
  246.     char fibdef$$_fill_14 [22];
  247.     unsigned short int fib$w_cntrlfunc;
  248.     union {
  249.         unsigned long int fib$l_cntrlval;
  250.         struct {
  251.             unsigned fib$v_all_mem : 1;
  252.             unsigned fib$v_all_grp : 1;
  253.             unsigned fib$v_mod_use : 1;
  254.             unsigned fib$v_mod_perm : 1;
  255.             unsigned fib$v_mod_over : 1;
  256.             unsigned fib$v_fill_4 : 3;
  257.             } fib$r_cntrlval_bits;
  258.         } fib$r_cntrlval_overlay;
  259. } ;
  260. #endif
  261.