home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / dos / filehandler.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  1.7 KB  |  100 lines

  1. #ifndef DOS_FILEHANDLER_H
  2. #define DOS_FILEHANDLER_H
  3. /*
  4. ** $Filename: dos/filehandler.h $
  5. ** $Release: 2.04 Includes, V37.4 $
  6. ** $Revision: 36.5 $
  7. ** $Date: 90/07/12 $
  8. **
  9. ** device and file handler specific code for AmigaDOS
  10. **
  11. ** (C) Copyright 1986-1991 Commodore-Amiga, Inc.
  12. ** All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_PORTS_H
  16. #include "exec/ports.h"
  17. #endif
  18.  
  19. #ifndef DOS_DOS_H
  20. #include "dos/dos.h"
  21. #endif
  22.  
  23.  
  24.  
  25.  
  26. struct DosEnvec {
  27.  ULONG de_TableSize; 
  28.  ULONG de_SizeBlock; 
  29.  ULONG de_SecOrg; 
  30.  ULONG de_Surfaces; 
  31.  ULONG de_SectorPerBlock; 
  32.  ULONG de_BlocksPerTrack; 
  33.  ULONG de_Reserved; 
  34.  ULONG de_PreAlloc; 
  35.  ULONG de_Interleave; 
  36.  ULONG de_LowCyl; 
  37.  ULONG de_HighCyl; 
  38.  ULONG de_NumBuffers; 
  39.  ULONG de_BufMemType; 
  40.  ULONG de_MaxTransfer; 
  41.  ULONG de_Mask; 
  42.  LONG de_BootPri; 
  43.  ULONG de_DosType; 
  44.  ULONG de_Baud; 
  45.  ULONG de_Control; 
  46.  ULONG de_BootBlocks; 
  47.  
  48. };
  49.  
  50.  
  51.  
  52. #define DE_TABLESIZE 0 
  53. #define DE_SIZEBLOCK 1 
  54. #define DE_SECORG 2 
  55. #define DE_NUMHEADS 3 
  56. #define DE_SECSPERBLK 4 
  57. #define DE_BLKSPERTRACK 5 
  58. #define DE_RESERVEDBLKS 6 
  59. #define DE_PREFAC 7 
  60. #define DE_INTERLEAVE 8 
  61. #define DE_LOWCYL 9 
  62. #define DE_UPPERCYL 10 
  63. #define DE_NUMBUFFERS 11 
  64. #define DE_MEMBUFTYPE 12 
  65. #define DE_BUFMEMTYPE 12 
  66. #define DE_MAXTRANSFER 13 
  67. #define DE_MASK 14 
  68. #define DE_BOOTPRI 15 
  69. #define DE_DOSTYPE 16 
  70. #define DE_BAUD 17 
  71. #define DE_CONTROL 18 
  72. #define DE_BOOTBLOCKS 19 
  73.  
  74.  
  75. struct FileSysStartupMsg {
  76.  ULONG fssm_Unit; 
  77.  BSTR fssm_Device; 
  78.  BPTR fssm_Environ; 
  79.  ULONG fssm_Flags; 
  80. };
  81.  
  82.  
  83.  
  84.  
  85. struct DeviceNode {
  86.  BPTR dn_Next; 
  87.  ULONG dn_Type; 
  88.  struct MsgPort *dn_Task; 
  89.  BPTR dn_Lock; 
  90.  BSTR dn_Handler; 
  91.  ULONG dn_StackSize; 
  92.  LONG dn_Priority; 
  93.  BPTR dn_Startup; 
  94.  BPTR dn_SegList; 
  95.  BPTR dn_GlobalVec; 
  96.  BSTR dn_Name; 
  97. };
  98.  
  99. #endif 
  100.