summaryrefslogtreecommitdiffstats
path: root/src/H5Iprivate.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2008-10-07 03:47:56 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2008-10-07 03:47:56 (GMT)
commita858608a0aa4ff6b23e35e210da3e7b2d461df51 (patch)
treeb128cbc269926fb7b133476ef08a6a7f2d494b15 /src/H5Iprivate.h
parentd7437bc5b171fef226813a576dea088d00f67b9a (diff)
downloadhdf5-a858608a0aa4ff6b23e35e210da3e7b2d461df51.zip
hdf5-a858608a0aa4ff6b23e35e210da3e7b2d461df51.tar.gz
hdf5-a858608a0aa4ff6b23e35e210da3e7b2d461df51.tar.bz2
[svn-r15797] Purpose: Close bug #1322
Description: Fixes a possible datatype id leak that could occur during compound datatype conversion, or more precisely, when unregistering those conversions. Datatype ids normally registered by the library are no longer visible to the application via H5Fget_obj_ids and H5Fget_obj_count. Tested: kagiso, linew, smirom (h5committest)
Diffstat (limited to 'src/H5Iprivate.h')
-rw-r--r--src/H5Iprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Iprivate.h b/src/H5Iprivate.h
index f06bf79..0923af7 100644
--- a/src/H5Iprivate.h
+++ b/src/H5Iprivate.h
@@ -61,7 +61,7 @@ H5_DLL H5I_type_t H5I_get_type(hid_t id);
H5_DLL hid_t H5I_get_file_id(hid_t obj_id, hbool_t app_ref);
H5_DLL void *H5I_remove(hid_t id);
H5_DLL void *H5I_remove_verify(hid_t id, H5I_type_t id_type);
-H5_DLL void *H5I_search(H5I_type_t type, H5I_search_func_t func, void *key);
+H5_DLL void *H5I_search(H5I_type_t type, H5I_search_func_t func, void *key, hbool_t app_ref);
H5_DLL int H5I_get_ref(hid_t id, hbool_t app_ref);
H5_DLL int H5I_inc_ref(hid_t id, hbool_t app_ref);
H5_DLL int H5I_dec_ref(hid_t id, hbool_t app_ref);