home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / STORM2.DMS / in.adf / Includes.LHA / clib / disk_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-01  |  825 b   |  43 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. #ifdef STORMPRAGMAS
  37. #ifndef _INCLUDE_PRAGMA_DISK_LIB_H
  38. #include <pragma/disk_lib.h>
  39. #endif
  40. #endif
  41.  
  42. #endif     /* CLIB_DISK_PROTOS_H */
  43.