1 #ifndef CLIB_OWNDEVUNIT_PROTOS_H 2 #define CLIB_OWNDEVUNIT_PROTOS_H 3 4 /* 5 owndevunit.library C prototypes 6 7 Copyright © 2003 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 11 #ifndef EXEC_TYPES_H 12 # include <exec/types.h> 13 #endif 14 15 #ifndef LIBRARIES_OWNDEVUNIT_H 16 # include <libraries/owndevunit.h> 17 #endif 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif /* __cplusplus */ 22 23 UBYTE *LockDevUnit(UBYTE *Device, ULONG Unit, UBYTE *OwnerName, UBYTE NotifyBit); 24 UBYTE *AttemptDevUnit(UBYTE *Device, ULONG Unit, UBYTE *OwnerName, UBYTE NotifyBit); 25 void FreeDevUnit(UBYTE *Device, ULONG Unit); 26 void NameDevUnit(UBYTE *Device, ULONG Unit, UBYTE *OwnerName); 27 BOOL AvailDevUnit(UBYTE *Device, ULONG Unit); 28 29 #ifdef __cplusplus 30 } 31 #endif /* __cplusplus */ 32 33 34 #endif /* CLIB_OWNDEVUNIT_PROTOS_H */