home *** CD-ROM | disk | FTP | other *** search
/ Amiga Dream 59 / CDDream59.ISO / BeOs / Sound / Intel / PPBeDevKit.ZIP / PLAYERPR.TAR / PlayerPRO / Source / FileUtils.h < prev    next >
C/C++ Source or Header  |  1998-12-26  |  2KB  |  114 lines

  1. /********************                        ***********************/
  2. //
  3. //    Player PRO 5.0 - DRIVER SOURCE CODE -
  4. //
  5. //    Library Version 5.0
  6. //
  7. //    To use with MAD Library for Mac: Symantec, CodeWarrior and MPW
  8. //
  9. //    Antoine ROSSET
  10. //    16 Tranchees
  11. //    1206 GENEVA
  12. //    SWITZERLAND
  13. //
  14. //    COPYRIGHT ANTOINE ROSSET 1996, 1997, 1998
  15. //
  16. //    Thank you for your interest in PlayerPRO !
  17. //
  18. //    FAX:                (+41 22) 346 11 97
  19. //    PHONE:             (+41 79) 203 74 62
  20. //    Internet:     RossetAntoine@bluewin.ch
  21. //
  22. /********************                        ***********************/
  23.  
  24. #include "MAD.h"
  25.  
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31.  
  32. ////////////////////////////////////////////////////////////
  33.  
  34. #ifdef _MAC_H
  35. short iFileOpen( Ptr name);
  36. void iFileCreate( Ptr name, long);
  37.  
  38. long iGetEOF( short iFileRefI);
  39. OSErr iRead( long size, Ptr dest, short iFileRefI);
  40. OSErr iWrite( long size, Ptr dest, short iFileRefI);
  41. OSErr iSeekCur( long size, short iFileRefI);
  42.  
  43. void iClose( short iFileRefI);
  44.  
  45. char* MADstrcpy( char*, const char*);
  46. int MADstrcmp( const char *dst, const char* src);
  47.  
  48. #define UNFILE    short
  49.  
  50. #endif
  51.  
  52.  
  53. ////////////////////////////////////////////////////////////
  54.  
  55. #ifdef _INTEL_H
  56. FILE* iFileOpen( Ptr name);
  57. void iFileCreate( Ptr name, long);
  58.  
  59. long iGetEOF( FILE* iFileRefI);
  60. OSErr iRead( long size, Ptr dest, FILE* iFileRefI);
  61. OSErr iWrite( long size, Ptr dest, FILE* iFileRefI);
  62. OSErr iSeekCur( long size, FILE* iFileRefI);
  63.  
  64. void iClose( FILE* iFileRefI);
  65.  
  66. char* MADstrcpy( char*, const char*);
  67. int MADstrcmp( const char *dst, const char* src);
  68.  
  69. #include "stdio.h"
  70. #include "stdlib.h"
  71. #include "string.h"
  72.  
  73. #define UNFILE    FILE*
  74.  
  75. #endif
  76.  
  77. ////////////////////////////////////////////////////////////
  78.  
  79. #ifdef _BE_H
  80. FILE* iFileOpen( Ptr name);
  81. void iFileCreate( Ptr name, long);
  82.  
  83. long iGetEOF( FILE* iFileRefI);
  84. OSErr iRead( long size, Ptr dest, FILE* iFileRefI);
  85. OSErr iWrite( long size, Ptr dest, FILE* iFileRefI);
  86. OSErr iSeekCur( long size, FILE* iFileRefI);
  87.  
  88. void iClose( FILE* iFileRefI);
  89.  
  90. char* MADstrcpy( char*, const char*);
  91. int MADstrcmp( const char *dst, const char* src);
  92.  
  93. #include "stdio.h"
  94. #include "stdlib.h"
  95. #include "string.h"
  96.  
  97. #define UNFILE    FILE*
  98.  
  99. #endif
  100.  
  101. ////////////////////////////////////////////////////////////
  102.  
  103.  
  104. void INT32( void *msg_buf);
  105. void INT16( void *msg_buf);
  106. void MOT32( void *msg_buf);
  107. void MOT16( void *msg_buf);
  108.  
  109.  
  110. #ifdef __cplusplus
  111. }
  112. #endif
  113.  
  114.