1 #ifndef CLIB_BATTMEM_PROTOS_H 2 #define CLIB_BATTMEM_PROTOS_H 3 4 /* 5 battmem.resource C prototypes 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 # include <exec/types.h> 12 #endif 13 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif /* __cplusplus */ 18 19 VOID ObtainBattSemaphore( VOID ); 20 VOID ReleaseBattSemaphore( VOID ); 21 ULONG ReadBattMem( APTR buffer, ULONG offset, ULONG length ); 22 ULONG WriteBattMem( CONST APTR buffer, ULONG offset, ULONG length ); 23 24 #ifdef __cplusplus 25 } 26 #endif /* __cplusplus */ 27 28 29 #endif /* CLIB_BATTMEM_PROTOS_H */