home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / IncPOS.lzx / Device / Walker.h < prev   
Encoding:
C/C++ Source or Header  |  1997-03-18  |  1.6 KB  |  52 lines

  1. #ifndef __INC_POS_DEVICE_WALKER_H
  2. #define __INC_POS_DEVICE_WALKER_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>Walker.h<<   19 Nov 1996    11:25:35 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PEXEC_DEVICE_H
  12. #include <pExec/Device.h>
  13. #endif
  14.  
  15.  
  16. /*----------------------------------
  17. -----------------------------------*/
  18. struct pOS_WalkerIO
  19. {
  20. /* struct pOS_IORequest */
  21.  
  22.   struct pOS_Message  wio_Message;
  23.   struct pOS_Device  *wio_Device;    /* device node pointer  */
  24.   struct pOS_Unit    *wio_Unit;      /* unit (driver private) */
  25.   UWORD               wio_Command;   /* (enum pOS_IOReqCommands) */
  26.   UBYTE               wio_Flags;     /* (enum pOS_WalkerReqFlags) */
  27.   SBYTE               wio_Error;     /* (enum pOS_IOReqErrors) */
  28.  
  29.   UWORD        wio_StackSize;
  30.   VOID       (*wio_Begin_func)(_R_A1 struct pOS_WalkerIO*);
  31.   VOID       (*wio_Abort_func)(_R_A1 struct pOS_WalkerIO*);
  32.   ULONG        wio_UserData[2];
  33. };
  34.  
  35.  
  36.  
  37.  
  38. enum pOS_WalkerReqFlags  /* wio_Flags    (enum pOS_IOReqFlags) */
  39. {
  40. /*  IOREQF_Quick   = 0x01, */
  41. /*  IOREQF_Pending = 0x80, */
  42.   WLKREQF_EnableSameTask = 0x10,        /* Erlaubt den Start der Begin-Funktion
  43.                                         ** aus dem aktuellen Task heraus.
  44.                                         ** Z.B.
  45.                                         ** ThisTask => Walker.process
  46.                                         ** DoIO(WlkIO); => WlkIO gehört der selben Walker-Unit
  47.                                         */
  48. };
  49.  
  50.  
  51. #endif
  52.