home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / rs60-3.dms / rs60-3.adf / Include_i.lha / dos / record.i < prev    next >
Encoding:
Text File  |  1992-09-25  |  675 b   |  34 lines

  1.     IFND DOS_RECORD_I
  2. DOS_RECORD_I SET 1
  3. **
  4. **    $VER: record.i 36.5 (12.07.90)
  5. **    Includes Release 39.108
  6. **
  7. **    include file for record locking
  8. **
  9. **    (C) Copyright 1989-1992 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.      IFND  DOS_DOS_I
  14.      INCLUDE "dos/dos.i"
  15.      ENDC
  16.  
  17. * Modes for LockRecord/LockRecords()
  18. REC_EXCLUSIVE        EQU    0
  19. REC_EXCLUSIVE_IMMED    EQU    1
  20. REC_SHARED        EQU    2
  21. REC_SHARED_IMMED    EQU    3
  22.  
  23. * struct to be passed to LockRecords()/UnLockRecords()
  24.  
  25.  STRUCTURE RecordLock,0
  26.     BPTR    rec_FH        ; filehandle
  27.     ULONG    rec_Offset    ; offset in file
  28.     ULONG    rec_Length    ; length of file to be locked
  29.     ULONG    rec_Mode    ; Type of lock
  30.  LABEL RecordLock_SIZEOF
  31.  
  32.     ENDC    ; DOS_RECORD_I
  33.  
  34.