home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / nduk-v37.lha / V37 / include / dos / record.i < prev    next >
Text File  |  1991-11-27  |  721b  |  36 lines

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