1 #ifndef _LOCKS_PROTOS_H
2 #define _LOCKS_PROTOS_H
4 #include <exec/types.h>
5 #include "cachebuffers.h"
10 LONG
locateobject(UBYTE
*path
,struct CacheBuffer
**io_cb
,struct fsObject
**io_o
);
11 LONG
locateobject2(UBYTE
**io_path
,struct CacheBuffer
**io_cb
,struct fsObject
**io_o
);
12 LONG
locateobjectfromlock(struct ExtFileLock
*lock
,UBYTE
*path
,struct CacheBuffer
**returned_cb
,struct fsObject
**returned_o
);
13 LONG
locatelockableobject(struct ExtFileLock
*lock
,UBYTE
*path
,struct CacheBuffer
**returned_cb
,struct fsObject
**returned_o
);
14 LONG
lockobject(struct ExtFileLock
*,UBYTE
*,LONG
,struct ExtFileLock
**);
15 LONG
lockobject2(struct fsObject
*o
, LONG accessmode
, struct ExtFileLock
**returned_efl
);
16 LONG
freelock(struct ExtFileLock
*lock
);
17 LONG
lockable(NODE
,LONG
);
18 void settemporarylock(NODE objectnode
);
19 void cleartemporarylock(void);
20 void updatelocksaftermove(BLCK source
, BLCK dest
, ULONG blocks
);
22 LONG
createglobalhandle(struct ExtFileLock
*efl
);
23 struct GlobalHandle
*findglobalhandle(NODE objectnode
);
25 #endif // _LOCKS_PROTOS_H