home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / IncPOS.lzx / pDOS / DosBase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-18  |  2.2 KB  |  84 lines

  1. #ifndef __INC_POS_PDOS_DOSBASE_H
  2. #define __INC_POS_PDOS_DOSBASE_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>DosBase.h<<   14 Feb 1997    12:41:55 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PDOS_DOSTYPES_H
  12. #include <pDOS/DosTypes.h>
  13. #endif
  14. #ifndef __INC_POS_PEXEC_LIBRARY_H
  15. #include <pExec/Library.h>
  16. #endif
  17. #ifndef __INC_POS_PEXEC_SEMA_H
  18. #include <pExec/Sema.h>
  19. #endif
  20. #ifndef __INC_POS_DEVICE_TIMER_H
  21. #include <Device/Timer.h>
  22. #endif
  23. #ifndef __INC_POS_PDOS_DATE_H
  24. #include <pDOS/Date.h>
  25. #endif
  26.  
  27.  
  28. /*----------------------------------
  29. -----------------------------------*/
  30. struct pOS_DosBase
  31. {
  32.   struct pOS_Library      dos_Lib;
  33.   struct pOS_ExecBase    *ExecBase;
  34.   struct pOS_UtilityBase *UtilityBase;
  35.  
  36.   UBYTE dos_Reserved1[32];
  37.  
  38.   struct pOS_Semaphore dos_DevSem;     /* für dos_Device, dos_DevMount, dos_DefDev, dos_FHManage */
  39.   struct pOS_ExList    dos_Device;     /* (pOS_DosDevice*)    */
  40.   struct pOS_ExList    dos_DefDev;     /* (pOS_DosDefDevice*) */
  41.   struct pOS_ExList    dos_DevMount;   /* (pOS_DosMountDevice*) */
  42.   UBYTE                dos_Reserved2[32];
  43.   struct pOS_ExList    dos_FHManage;   /* FileHandle-Manager */
  44.   struct pOS_FHManage *dos_FHMDefault;
  45.  
  46.   struct pOS_Semaphore dos_SegmLLSem;  /* für dos_SegmentLLst */
  47.   struct pOS_ExList    dos_SegmentLLst;
  48.  
  49.   struct pOS_DateStamp dos_BootTime;   /* Boot-Start Time (Basis) */
  50.   struct pOS_TimerIO   dos_TimeReq;    /* (Master) für Delay oder ... */
  51.  
  52.   UBYTE               *dos_UseProcBitMap;  /* ** aktive Process-Nummern als BitMap */
  53.   UWORD                dos_UseProcBitSize; /* ** Maximale Anzahl von Bits (256) */
  54.  
  55.   struct pOS_ExecLibFunction *dos_Exec2Private;    /* ** pOS pre-help */
  56.  
  57. /*** SYSTEM - DATAS ****************/
  58.  
  59. };
  60.  
  61.  
  62.  
  63.  
  64. /** for pOS_AllocDosObject() / pOS_FreeDosObject() **/
  65. enum pOS_DosObjects
  66. {
  67.   DOSOBJ_FIB=1,             /* struct pOS_FileInfoData */
  68.   DOSOBJ_Shell,             /* struct pOS_Shell */
  69.   DOSOBJ_InfoData,          /* struct pOS_DosInfoData */
  70. };
  71.  
  72.  
  73.  
  74. /** pOS_DosString() **/
  75. enum pOS_DosStringFlags
  76. {
  77.   DOSSTRF_Esc   = 0x0001,       /* Esc-Sequenz wird bearbeitet */
  78. };
  79.  
  80.  
  81.  
  82.  
  83. #endif
  84.