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

  1. #ifndef  CLIB_DISK_PROTOS_H
  2. #define  CLIB_DISK_PROTOS_H
  3.  
  4. /*
  5. **    $VER: disk_protos.h 36.1 (19.2.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  RESOURCES_DISK_H
  15. #include <resources/disk.h>
  16. #endif
  17.  
  18. #ifdef __cplusplus
  19. #define CLIBCPLUSON
  20. #pragma -
  21. #endif
  22.  
  23. BOOL AllocUnit( long unitNum );
  24. void FreeUnit( long unitNum );
  25. struct DiskResourceUnit *GetUnit( struct DiskResourceUnit *unitPointer );
  26. void GiveUnit( void );
  27. LONG GetUnitID( long unitNum );
  28. /*------ new for V37 ------*/
  29. LONG ReadUnitID( long unitNum );
  30.  
  31. #ifdef CLIBCPLUSON
  32. #undef CLIBCPLUSON
  33. #pragma +
  34. #endif
  35.  
  36. #endif     /* CLIB_DISK_PROTOS_H */
  37.