diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-05-20 14:04:09 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-05-20 14:04:09 (GMT) |
commit | ff84fb1be3806557e96ef4782bfe784d7fcb408e (patch) | |
tree | 5722c26a9581749bd33a68c3e81dbcc91e7e74bb /src/H5Iprivate.h | |
parent | 3c1708531d38568bc993394a82c0e1ff0bce8126 (diff) | |
download | hdf5-ff84fb1be3806557e96ef4782bfe784d7fcb408e.zip hdf5-ff84fb1be3806557e96ef4782bfe784d7fcb408e.tar.gz hdf5-ff84fb1be3806557e96ef4782bfe784d7fcb408e.tar.bz2 |
Brought H5I, H5Z, and some of H5PL in line with develop/1.12.
Diffstat (limited to 'src/H5Iprivate.h')
-rw-r--r-- | src/H5Iprivate.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/H5Iprivate.h b/src/H5Iprivate.h index 25a0572..579d21c 100644 --- a/src/H5Iprivate.h +++ b/src/H5Iprivate.h @@ -66,14 +66,7 @@ typedef struct H5I_class_t { H5_DLL herr_t H5I_register_type(const H5I_class_t *cls); H5_DLL int64_t H5I_nmembers(H5I_type_t type); H5_DLL herr_t H5I_clear_type(H5I_type_t type, hbool_t force, hbool_t app_ref); -H5_DLL hid_t H5I_register(H5I_type_t type, const void *object, hbool_t app_ref); -H5_DLL herr_t H5I_register_with_id(H5I_type_t type, const void *object, hbool_t app_ref, hid_t id); -H5_DLL void *H5I_subst(hid_t id, const void *new_object); -H5_DLL void *H5I_object(hid_t id); -H5_DLL void *H5I_object_verify(hid_t id, H5I_type_t id_type); H5_DLL H5I_type_t H5I_get_type(hid_t id); -H5_DLL hid_t H5I_get_file_id(hid_t obj_id, H5I_type_t id_type); -H5_DLL void *H5I_remove(hid_t id); H5_DLL herr_t H5I_iterate(H5I_type_t type, H5I_search_func_t func, void *udata, 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); @@ -81,6 +74,17 @@ H5_DLL int H5I_dec_ref(hid_t id); H5_DLL int H5I_dec_app_ref(hid_t id); H5_DLL int H5I_dec_app_ref_always_close(hid_t id); H5_DLL int H5I_dec_type_ref(H5I_type_t type); +H5_DLL hid_t H5I_get_file_id(hid_t obj_id, H5I_type_t id_type); + +/* Functions that manipulate objects */ +H5_DLL void *H5I_object(hid_t id); +H5_DLL void *H5I_object_verify(hid_t id, H5I_type_t id_type); +H5_DLL void *H5I_remove(hid_t id); +H5_DLL void *H5I_subst(hid_t id, const void *new_object); + +/* ID registration functions */ +H5_DLL hid_t H5I_register(H5I_type_t type, const void *object, hbool_t app_ref); +H5_DLL herr_t H5I_register_using_existing_id(H5I_type_t type, void *object, hbool_t app_ref, hid_t existing_id); /* Debugging functions */ H5_DLL herr_t H5I_dump_ids_for_type(H5I_type_t type); |