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

  1. @DATABASE "dopus/iff.h"
  2. @MASTER   "opussdk:include/dopus/iff.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/iff.h"
  8. @TOC "DopusSDK/MAIN"
  9.  
  10. @{"dopus/iff.h" LINK File}
  11.  
  12.  
  13. @{b}#defines@{ub}
  14.  
  15. @{"IFF_CLIP" LINK "dopus/iff.h/File" 13}  @{"IFF_CLIP_READ" LINK "dopus/iff.h/File" 14}  @{"IFF_CLIP_WRITE" LINK "dopus/iff.h/File" 15}  @{"IFF_READ" LINK "dopus/iff.h/File" 11}
  16. @{"IFF_SAFE" LINK "dopus/iff.h/File" 16}  @{"IFF_WRITE" LINK "dopus/iff.h/File" 12}      
  17.  
  18. @ENDNODE
  19. @NODE File "dopus/iff.h"
  20. #ifndef _DOPUS_IFF
  21. #define _DOPUS_IFF
  22.  
  23. /*****************************************************************************
  24.  
  25.  IFF routines
  26.  
  27.  *****************************************************************************/
  28.  
  29. // File modes
  30. #define IFF_READ        MODE_OLDFILE            // Reading
  31. #define IFF_WRITE       MODE_NEWFILE            // Writing
  32. #define IFF_CLIP        0x8000                  // Clipboard flag
  33. #define IFF_CLIP_READ   (@{"IFF_CLIP" LINK File 13}|@{"IFF_READ" LINK File 11})     // Read clipboard
  34. #define IFF_CLIP_WRITE  (@{"IFF_CLIP" LINK File 13}|@{"IFF_WRITE" LINK File 12})    // Write clipboard
  35. #define IFF_SAFE        0x4000                  // Safe write
  36.  
  37.  
  38. ULONG IFFChunkID(APTR);
  39. long IFFChunkRemain(APTR);
  40. long IFFChunkSize(APTR);
  41. void IFFClose(APTR);
  42. void IFFFailure(APTR);
  43. ULONG IFFGetFORM(APTR);
  44. ULONG IFFNextChunk(APTR,ULONG);
  45. APTR IFFOpen(char *,unsigned short,ULONG);
  46. long IFFPopChunk(APTR);
  47. long IFFPushChunk(APTR,ULONG);
  48. long IFFReadChunkBytes(APTR,APTR,long);
  49. long IFFWriteChunkBytes(APTR,APTR,long);
  50. long IFFWriteChunk(APTR,APTR,ULONG,ULONG);
  51.  
  52. #endif
  53. @ENDNODE
  54.