home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / incl.lha / INCLUDE / clib / battmem_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-29  |  699 b   |  34 lines

  1. #ifndef  CLIB_BATTMEM_PROTOS_H
  2. #define  CLIB_BATTMEM_PROTOS_H
  3.  
  4. /*
  5. **    $VER: battmem_protos.h 1.5 (4.3.91)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17.  
  18. #ifdef __cplusplus
  19. #define CLIBCPLUSON
  20. #pragma -
  21. #endif
  22.  
  23. void ObtainBattSemaphore( void );
  24. void ReleaseBattSemaphore( void );
  25. ULONG ReadBattMem( APTR buffer, unsigned long offset, unsigned long length );
  26. ULONG WriteBattMem( APTR buffer, unsigned long offset, unsigned long length );
  27.  
  28. #ifdef CLIBCPLUSON
  29. #undef CLIBCPLUSON
  30. #pragma +
  31. #endif
  32.  
  33. #endif     /* CLIB_BATTMEM_PROTOS_H */
  34.