5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: Record structures and definitions.
17 /* LockRecord() and LockRecords() locking modes. EXCLUSIVE modes mean that
18 nobody else is allowed to lock a specific record, which is allowed, when
19 locking with SHARED mode. When using IMMED modes, the timeout is ignored. */
20 #define REC_EXCLUSIVE 0
21 #define REC_EXCLUSIVE_IMMED 1
23 #define REC_SHARED_IMMED 3
26 /* Structure as passed to LockRecords() and UnLockRecords(). */
29 BPTR rec_FH
; /* (struct FileHandle *) The file to get the current
31 ULONG rec_Offset
; /* The offset, the current record should start. */
32 ULONG rec_Length
; /* The length of the current record. */
33 ULONG rec_Mode
; /* The mode od locking (see above). */
36 #endif /* DOS_RECORD_H */