-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlock_protos.h
30 lines (18 loc) · 850 Bytes
/
lock_protos.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Prototypes for functions defined in
lock.c
*/
struct listentry * MakeListEntry(union objectinfo * , listtype , SIPTR *error, globaldata * );
BOOL _AddListEntry(listentry_t *, globaldata * );
#define AddListEntry(a) _AddListEntry(a,g)
void RemoveListEntry(listentry_t * , globaldata * );
void FreeListEntry(listentry_t * , globaldata * );
//void FreeListEntry(listentry_t *);
BOOL _ChangeAccessMode(listentry_t * , LONG , SIPTR *, globaldata * );
#define ChangeAccessMode(a,b,c) _ChangeAccessMode(a,b,c,g)
BOOL AccessConflict(listentry_t * );
BOOL ScanLockList(listentry_t * , ULONG );
#if MULTIUSER
ULONG muFS_CheckDeleteAccess (ULONG protection, ULONG flags, globaldata *g);
ULONG muFS_CheckWriteAccess (ULONG protection, ULONG flags, globaldata *g);
ULONG muFS_CheckReadAccess (ULONG protection, ULONG flags, globaldata *g);
#endif