1 /* Copyright 2003 by Hans Reiser, licensing governed by
4 /* "Black box" entry to fixed-width contain user supplied data */
6 #if !defined( __FS_REISER4_BLACK_BOX_H__ )
7 #define __FS_REISER4_BLACK_BOX_H__
9 #include "../../forward.h"
10 #include "../../dformat.h"
11 #include "../../kassign.h"
12 #include "../../key.h"
14 extern int store_black_box(reiser4_tree
* tree
,
15 const reiser4_key
* key
, void *data
, int length
);
16 extern int load_black_box(reiser4_tree
* tree
,
17 reiser4_key
* key
, void *data
, int length
, int exact
);
18 extern int kill_black_box(reiser4_tree
* tree
, const reiser4_key
* key
);
19 extern int update_black_box(reiser4_tree
* tree
,
20 const reiser4_key
* key
, void *data
, int length
);
22 /* __FS_REISER4_BLACK_BOX_H__ */
27 c-indentation-style: "K&R"