home *** CD-ROM | disk | FTP | other *** search
/ Quark 3 / Quark3.iso / KATALOG / ARCHIV / TOOL / T001.ZIP / SOURCE.ZIP / DiskIO.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-03  |  842 b   |  24 lines

  1. #ifndef _DISKIO_H_
  2. #define _DISKIO_H_
  3.  
  4. void  putLittle16    ( INT16 num , FILE *f );
  5. INT16 getLittle16    ( FILE *f );
  6. void  putLittle32    ( INT32 num , FILE *f );
  7. INT32 getLittle32    ( FILE *f );
  8. void  putLittleFloat ( float num , FILE *f ); //32bit floating point number
  9. float getLittleFloat ( FILE *f ); //32bit floating point number
  10. void  putBig16       ( INT16 num , FILE *f );
  11. INT16 getBig16       ( FILE *f );
  12. void  putBig32       ( INT32 num , FILE *f );
  13. INT32 getBig32       ( FILE *f );
  14. void  putBigFloat    ( float num , FILE *f ); //32bit floating point number
  15. float getBigFloat    ( FILE *f ); //32bit floating point number
  16.  
  17. #define get16        getLittle16
  18. #define get32        getLittle32
  19. #define getFloat    getLittleFloat
  20. #define put16        putLittle16
  21. #define put32        putLittle32
  22. #define putFloat    putLittleFloat
  23.  
  24. #endif