1 /* Copyright 2002, 2003 by Hans Reiser, licensing governed by reiser4/README */
3 /* Declaration of seals: "weak" tree pointers. See seal.c for comments. */
15 /*#include <linux/types.h>*/
17 /* seal. See comment at the top of seal.c */
18 typedef struct seal_s
{
19 /* version of znode recorder at the time of seal creation */
21 /* block number of znode attached to this seal */
22 reiser4_block_nr block
;
24 /* coord this seal is attached to. For debugging. */
26 /* key this seal is attached to. For debugging. */
31 extern void reiser4_seal_init(seal_t
*, const coord_t
*, const reiser4_key
*);
32 extern void reiser4_seal_done(seal_t
*);
33 extern int reiser4_seal_is_set(const seal_t
*);
34 extern int reiser4_seal_validate(seal_t
*, coord_t
*,
35 const reiser4_key
*, lock_handle
* ,
36 znode_lock_mode mode
, znode_lock_request request
);
43 c-indentation-style: "K&R"