1 #ifndef CLIB_DISK_PROTOS_H 2 #define CLIB_DISK_PROTOS_H 3 4 /* 5 disk.resource C prototypes 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef RESOURCES_DISK_H 11 # include <resources/disk.h> 12 #endif 13 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif /* __cplusplus */ 18 19 BOOL AllocUnit( LONG unitNum ); 20 VOID FreeUnit( LONG unitNum ); 21 struct DiscResourceUnit *GetUnit( struct DiscResourceUnit *unitPointer ); 22 VOID GiveUnit( VOID ); 23 LONG GetUnitID( LONG unitNum ); 24 LONG ReadUnitID( LONG unitNum ); 25 26 #ifdef __cplusplus 27 } 28 #endif /* __cplusplus */ 29 30 31 #endif /* CLIB_DISK_PROTOS_H */