home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 106 / af106sub.adf / datatypes.LZX / anim_datatype / ASYNCIO.H < prev    next >
C/C++ Source or Header  |  2017-09-30  |  1KB  |  42 lines

  1.  
  2. #ifndef ASYNCIO_H
  3. #define ASYNCIO_H
  4.  
  5. /*
  6. **
  7. **  $VER: asyncio.h 1.10 (3.8.97)
  8. **  anim.datatype 1.10
  9. **
  10. **  Async I/O includes for anim.datatype
  11. **
  12. **  Written 1996/97 by Roland 'Gizzy' Mainz
  13. **  Based on asyncio.c by Martin Tailefer from 3.1_Examples1:AsyncIO/asyncio.h
  14. **
  15. */
  16.  
  17. /* This structure is public only by necessity, don't muck with it yourself, or
  18.  * you're looking for trouble
  19.  */
  20. typedef struct AsyncFile
  21. {
  22.     BPTR                  af_File;
  23.     ULONG                 af_BlockSize;
  24.     struct MsgPort       *af_Handler;
  25.     APTR                  af_Offset;
  26.     LONG                  af_BytesLeft;
  27.     ULONG                 af_BufferSize;
  28.     APTR                  af_Buffers[ 2 ];
  29.     struct StandardPacket af_Packet;
  30.     struct MsgPort        af_PacketPort;
  31.     ULONG                 af_CurrentBuf;
  32.     ULONG                 af_SeekOffset;
  33.     UBYTE                 af_PacketPending;
  34. } AsyncFile;
  35.  
  36.  
  37. /*****************************************************************************/
  38.  
  39. #endif /* ASYNCIO_H */
  40.  
  41.  
  42.