home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / opus / v5 / opussdk / amigaguide / dopus / bufferedio.h < prev    next >
C/C++ Source or Header  |  1977-12-31  |  1KB  |  42 lines

  1. @DATABASE "dopus/bufferedio.h"
  2. @MASTER   "opussdk:include/dopus/bufferedio.h"
  3. @REMARK   (c) Dr Greg Perry and Jonathan Potter, GPSoftware 1996
  4. @REMARK   This file was initially created by ADtoHT 2.1 on 07-Sep-96 18:20:14
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "dopus/bufferedio.h"
  8. @TOC "DopusSDK/MAIN"
  9.  
  10. @{"dopus/bufferedio.h" LINK File}
  11.  
  12. @ENDNODE
  13. @NODE File "dopus/bufferedio.h"
  14. #ifndef _DOPUS_BUFIO
  15. #define _DOPUS_BUFIO
  16.  
  17. /*****************************************************************************
  18.  
  19.  Buffered IO
  20.  
  21.  *****************************************************************************/
  22.  
  23. #ifndef EXEC_TYPES_H
  24. #include <exec/types.h>
  25. #endif
  26.  
  27. #ifndef DOS_DOS_H
  28. #include <dos/dos.h>
  29. #endif
  30.  
  31. void CloseBuf(APTR file);
  32. long ExamineBuf(APTR file,struct FileInfoBlock *fib);
  33. BPTR FHFromBuf(APTR file);
  34. void FlushBuf(APTR file);
  35. APTR OpenBuf(char *name,long mode,long buffer_size);
  36. long ReadBuf(APTR file,char *data,long size);
  37. long SeekBuf(APTR file,long offset,long mode);
  38. long WriteBuf(APTR file,char *data,long size);
  39.  
  40. #endif
  41. @ENDNODE
  42.