summaryrefslogtreecommitdiffstats
path: root/src/H5Ipublic.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2008-11-05 19:07:40 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2008-11-05 19:07:40 (GMT)
commite78909e53965b8365c4fb87b84f5f7852da9d36f (patch)
treeb4d8f9eb88c78b8ca61a8d7d5c7888722575f9fb /src/H5Ipublic.h
parent2eefe0be2eee4ffd908d9575127d294f07ebbabe (diff)
downloadhdf5-e78909e53965b8365c4fb87b84f5f7852da9d36f.zip
hdf5-e78909e53965b8365c4fb87b84f5f7852da9d36f.tar.gz
hdf5-e78909e53965b8365c4fb87b84f5f7852da9d36f.tar.bz2
[svn-r16036] Purpose: add H5Iis_valid function
Description: H5Iis_valid function added. This function checks if the id is valid (i.e. it is currently registered and visible to the application), and returns TRUE if it is valid, or FALSE otherwise. It should never return an error. Tested: kagiso, linew, smirom (h5committest)
Diffstat (limited to 'src/H5Ipublic.h')
-rw-r--r--src/H5Ipublic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Ipublic.h b/src/H5Ipublic.h
index 108f040..608bc9c 100644
--- a/src/H5Ipublic.h
+++ b/src/H5Ipublic.h
@@ -95,6 +95,7 @@ H5_DLL int H5Iget_type_ref(H5I_type_t type);
H5_DLL void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key);
H5_DLL herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members);
H5_DLL htri_t H5Itype_exists(H5I_type_t type);
+H5_DLL htri_t H5Iis_valid(hid_t id);
#ifdef __cplusplus
}