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

  1. @DATABASE "pDOS/Segment.h"
  2. @MASTER   "Work2:AD/IInc/pDOS/Segment.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 11-Mär-97  13:34:13
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pDOS/Segment.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pDOS/Segment.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_ISegmentData" LINK "pDOS/Segment.h/File" 60}  @{"pOS_Segment" LINK "pDOS/Segment.h/File" 21}  @{"pOS_SegmentLst" LINK "pDOS/Segment.h/File" 32}
  16.  
  17. @ENDNODE
  18. @NODE File "pDOS/Segment.h"
  19. #ifndef __INC_POS_PDOS_SEGMENT_H
  20. #define __INC_POS_PDOS_SEGMENT_H
  21. /*******************************************************************
  22.  Includes Release 24
  23.  (C) Copyright 1995-1997 proDAD
  24.      All Rights Reserved
  25.  
  26.  $AUT Holger Burkarth
  27.  $DAT >>Segment.h<<   07 Nov 1996    12:27:07 - (C) ProDAD
  28. *******************************************************************/
  29. #ifndef __INC_POS_PDOS_DOSTYPES_H
  30. #include <@{"pDOS/DosTypes.h" LINK "pDOS/DosTypes.h/File"}>
  31. #endif
  32. #ifndef __INC_POS_PEXEC_LIST_H
  33. #include <@{"pExec/List.h" LINK "pExec/List.h/File"}>
  34. #endif
  35.  
  36.  
  37. /*----------------------------------
  38. -----------------------------------*/
  39. struct pOS_Segment
  40. {
  41.   struct pOS_Segment* seg_Next;
  42.   @{"size_t" LINK "pExec/Types.h/File" 113}              seg_Size;
  43.   @{"UBYTE" LINK "pExec/Types.h/File" 95}               seg_Reserved2[8];
  44. };
  45.  
  46.  
  47.  
  48. /*----------------------------------
  49. -----------------------------------*/
  50. struct pOS_SegmentLst
  51. {
  52.   @{"struct pOS_ExNode" LINK "pExec/List.h/File" 37}  sel_Node;
  53.  
  54.   @{"UWORD" LINK "pExec/Types.h/File" 93}              sel_UsedCnt;
  55.   @{"UWORD" LINK "pExec/Types.h/File" 93}              sel_Flags;     /* (enum pOS_SegmLstFlags) */
  56.  
  57.   @{"VOID" LINK "pExec/Types.h/File" 83} (*sel_Func)(@{"_R_LB" LINK "pExec/Types.h/File" 35} @{"struct pOS_DosBase" LINK "pDOS/DosBase.h/File" 30}*,_R_A0 const struct pOS_SegmentLst*);
  58.  
  59.   @{"UBYTE" LINK "pExec/Types.h/File" 95}              sel_Reserved2[8];
  60.   @{"struct pOS_Segment" LINK File 21} sel_Seg;
  61. };
  62.  
  63.  
  64.  
  65.  
  66. enum pOS_SegmLstFlags
  67. {
  68.   SEGLSF_ROM    =0x0001, /* Seg befindet sich im ROM */
  69.   SEGLSF_NoPrg  =0x0002, /* Segm darf nicht als Command gestartet werden (Device,Library) */
  70.   SEGLSF_Script =0x0004, /* Segm is Script */
  71. };
  72.  
  73.  
  74.  
  75.  
  76. /*----------------------------------
  77. -----------------------------------*/
  78. struct pOS_ISegmentData
  79. {
  80.   @{"struct pOS_SegmentLst" LINK File 32} *isgd_SegmLst;      /* Result */
  81.   @{"struct pOS_FileHandle" LINK "pDOS/Files.h/File" 24} *isgd_FH;           /* (~@{"NULL" LINK "pExec/Types.h/File" 117}) */
  82.   @{"SLONG" LINK "pExec/Types.h/File" 90}                  isgd_Error;
  83.   @{"UBYTE" LINK "pExec/Types.h/File" 95}                  isgd_Reserved1[8];
  84.  
  85.   @{"__ARID__" LINK "pExec/Types.h/File" 155} @{"APTR" LINK "pExec/Types.h/File" 87} (*isgd_Alloc_func)(@{"_R_LB" LINK "pExec/Types.h/File" 35} struct pOS_ExecBase*,_R_D0 size_t,_R_D1 ULONG requ,_R_A4 struct pOS_ISegmentData*);
  86.   @{"VOID" LINK "pExec/Types.h/File" 83}          (*isgd_Free_func) (@{"_R_LB" LINK "pExec/Types.h/File" 35} struct pOS_ExecBase*,_R_A0 __ARID__ APTR adr,_R_D0 size_t,_R_A4 struct pOS_ISegmentData*);
  87.   @{"dossize_t" LINK "pDOS/DosTypes.h/File" 15}     (*isgd_Read_func) (@{"_R_LB" LINK "pExec/Types.h/File" 35} @{"struct pOS_DosBase" LINK "pDOS/DosBase.h/File" 30}*, _R_A0 struct pOS_FileHandle*,_R_A1 APTR,_R_D0 dossize_t,_R_A4 struct pOS_ISegmentData*);
  88.  
  89.   @{"UBYTE" LINK "pExec/Types.h/File" 95} isgd_Reserved2[8];
  90. };
  91.  
  92.  
  93.  
  94. #endif
  95. @ENDNODE
  96.