home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / FileMover / HF-OM1.DMS / in.adf / OpusSDK.lha / SDK / include / dopus / bufferedio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-11  |  702 b   |  29 lines

  1. #ifndef _DOPUS_BUFIO
  2. #define _DOPUS_BUFIO
  3.  
  4. /*****************************************************************************
  5.  
  6.  Buffered IO
  7.  
  8.  *****************************************************************************/
  9.  
  10. #ifndef EXEC_TYPES_H
  11. #include <exec/types.h>
  12. #endif
  13.  
  14. #ifndef DOS_DOS_H
  15. #include <dos/dos.h>
  16. #endif
  17.  
  18. long CloseBuf(APTR file);
  19. long ExamineBuf(APTR file,struct FileInfoBlock *fib);
  20. BPTR FHFromBuf(APTR file);
  21. long FlushBuf(APTR file);
  22. APTR OpenBuf(char *name,long mode,long buffer_size);
  23. long ReadBuf(APTR file,char *data,long size);
  24. long ReadBufLine(APTR file,char *data,long size);
  25. long SeekBuf(APTR file,long offset,long mode);
  26. long WriteBuf(APTR file,char *data,long size);
  27.  
  28. #endif
  29.