home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / l / l-coll1.zip / STREPLAY.ZOO / STReplay / Include / LIBRARIES / streplay.h < prev    next >
C/C++ Source or Header  |  1989-11-29  |  733b  |  49 lines

  1. /*
  2.  
  3.    STReplay.library
  4.  
  5.    by Olli, dem Gr÷▀ten
  6.  
  7.    C-Standarddefinitionen
  8.  
  9. */
  10.  
  11. #ifdef LATTICE
  12. #include <proto/streplay.h>
  13. #endif
  14.  
  15. #ifndef EXEC_LIBRARIES_H
  16. #include <exec/libraries.h>
  17. #endif
  18.  
  19. #ifndef LIBRARIES_DOS_H
  20. #include <libraries/dos.h>
  21. #endif
  22.  
  23. #define STREPLAYNAME "streplay.library"
  24. #define STREPLAYVERSION 33
  25. #define STREPLAYREVISION 8
  26.  
  27. /* the base we build upon... */
  28. struct STReplayBase
  29. {
  30.  struct Library Libnode;
  31.  BPTR strb_Seglist;
  32.  APTR strb_Module;
  33.  LONG strb_Len;
  34.  WORD strb_Running;
  35. };
  36.  
  37. /* Libfunctions */
  38. LONG LoadModule();
  39. VOID StartSong();
  40. VOID StopSong();
  41. LONG IsRunning();
  42. VOID UnloadModule();
  43. LONG IsModule();
  44.  
  45. /* Returns from LoadModule() */
  46. #define STLE_NOFILE -1L
  47. #define STLE_NOMEM -2L
  48. #define STLE_OK 0L
  49.