summaryrefslogtreecommitdiffstats
path: root/src/H5B2pkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-08-10 03:42:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-08-10 03:42:51 (GMT)
commitf06e8744a54fdf7454fd5f4d76e9b10f16076d22 (patch)
treec0d936fcf174d860020cce54414bf37f70632e20 /src/H5B2pkg.h
parentcb60bf29361e7f21468cdc6900e68f8937f9fec5 (diff)
downloadhdf5-f06e8744a54fdf7454fd5f4d76e9b10f16076d22.zip
hdf5-f06e8744a54fdf7454fd5f4d76e9b10f16076d22.tar.gz
hdf5-f06e8744a54fdf7454fd5f4d76e9b10f16076d22.tar.bz2
[svn-r12561] Description:
Update code formatting a little and refactor to add a better mechanism for performing callbacks when removing records from the B-tree or deleting entire B-tree. Testing: FreeBSD 4.11 (sleipnir) Linux/64 2.4 (mir) Linux/32 2.4 (heping) Mac OS 10.4 (amazon)
Diffstat (limited to 'src/H5B2pkg.h')
-rw-r--r--src/H5B2pkg.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/H5B2pkg.h b/src/H5B2pkg.h
index 784b1e5..5a27494 100644
--- a/src/H5B2pkg.h
+++ b/src/H5B2pkg.h
@@ -215,13 +215,16 @@ H5_DLL herr_t H5B2_neighbor_leaf(H5F_t *f, hid_t dxpl_id, H5RC_t *bt2_shared,
/* Routines for removing records */
H5_DLL herr_t H5B2_remove_internal(H5F_t *f, hid_t dxpl_id, H5RC_t *bt2_shared,
hbool_t *depth_decreased, void *swap_loc, unsigned depth, H5AC_info_t *parent_cache_info,
- hbool_t * parent_cache_info_dirtied_ptr, H5B2_node_ptr_t *curr_node_ptr, void *udata);
+ hbool_t * parent_cache_info_dirtied_ptr, H5B2_node_ptr_t *curr_node_ptr, void *udata,
+ H5B2_remove_t op, void *op_data);
H5_DLL herr_t H5B2_remove_leaf(H5F_t *f, hid_t dxpl_id, H5RC_t *bt2_shared,
- H5B2_node_ptr_t *curr_node_ptr, void *udata);
+ H5B2_node_ptr_t *curr_node_ptr, void *udata, H5B2_remove_t op,
+ void *op_data);
/* Routines for deleting nodes */
H5_DLL herr_t H5B2_delete_node(H5F_t *f, hid_t dxpl_id, H5RC_t *bt2_shared,
- unsigned depth, const H5B2_node_ptr_t *curr_node);
+ unsigned depth, const H5B2_node_ptr_t *curr_node, H5B2_remove_t op,
+ void *op_data);
/* Metadata cache callbacks */
H5_DLL herr_t H5B2_cache_hdr_dest(H5F_t *f, H5B2_t *b);