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

  1. #ifndef __INC_POS_PEXEC_RESIDENT_H
  2. #define __INC_POS_PEXEC_RESIDENT_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>Resident.h<<   12 Sep 1996    10:17:07 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PEXEC_TYPES_H
  12. #include <pExec/Types.h>
  13. #endif
  14.  
  15.  
  16. /*----------------------------------
  17. -----------------------------------*/
  18. struct pOS_Resident
  19. {
  20.   UWORD               rt_MatchWord;   /* word to match on  */
  21.   const struct pOS_Resident *rt_MatchTag; /* pointer to the above */
  22.   APTR                rt_EndSkip;     /* address to continue scan */
  23.   ULONG               rt_Flags;       /* various tag flags */
  24.   UWORD               rt_Version;     /* release version number */
  25.   UWORD               rt_Revision;    /* */
  26.   UBYTE               rt_Type;        /* type of module (NTYP_XXXXXX) */
  27.   SBYTE               rt_Pri;         /* initialization priority */
  28.   const CHAR         *rt_Name;        /* pointer to node name */
  29.   const CHAR         *rt_IdString;    /* pointer to identification string */
  30.   APTR                rt_Init;        /* pointer to init code or (const pOS_ResidentLibInit*) */
  31.   const struct pOS_TagItem  *rt_Describe;
  32. };
  33.  
  34.  
  35.  
  36.  
  37. #define RTC_MATCHWORD 0x4AFC
  38.  
  39. enum pOS_ResidentFlags
  40. {
  41.  RTF_COLDSTART =0x01,
  42.  RTF_SINGLETASK=0x02,
  43.  RTF_AFTERDOS  =0x04,
  44.  RTF_AUTOINIT  =0x80, /* rt_Init points to data structure */
  45. };
  46.  
  47.  
  48. #endif
  49.