home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / dos / record.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  533 b   |  37 lines

  1. #ifndef DOS_RECORD_H
  2. #define DOS_RECORD_H
  3. /*
  4. **
  5. ** $Filename: dos/record.h $
  6. ** $Release: 2.04 Includes, V37.4 $
  7. ** $Revision: 36.5 $
  8. ** $Date: 90/07/12 $
  9. **
  10. ** include file for record locking
  11. **
  12. ** (C) Copyright 1989-1991 Commodore-Amiga, Inc.
  13. ** All Rights Reserved
  14. **
  15. */
  16.  
  17. #ifndef DOS_DOS_H
  18. #include "dos/dos.h"
  19. #endif
  20.  
  21.  
  22. #define REC_EXCLUSIVE 0
  23. #define REC_EXCLUSIVE_IMMED 1
  24. #define REC_SHARED 2
  25. #define REC_SHARED_IMMED 3
  26.  
  27.  
  28.  
  29. struct RecordLock {
  30.  BPTR rec_FH; 
  31.  ULONG rec_Offset; 
  32.  ULONG rec_Length; 
  33.  ULONG rec_Mode; 
  34. };
  35.  
  36. #endif 
  37.