summaryrefslogtreecommitdiffstats
path: root/src/H5Ipublic.h
diff options
context:
space:
mode:
authorNat Furrer <nfurrer@ncsa.uiuc.edu>2004-06-30 15:33:19 (GMT)
committerNat Furrer <nfurrer@ncsa.uiuc.edu>2004-06-30 15:33:19 (GMT)
commit8e468d9dec965e575dd442d63af9e412fcb758e6 (patch)
tree4a31228176fe34c84079d0f0213ab1564412b76c /src/H5Ipublic.h
parent358b8545dd9e3baa4b63c88a0d28aa8d7afb065b (diff)
downloadhdf5-8e468d9dec965e575dd442d63af9e412fcb758e6.zip
hdf5-8e468d9dec965e575dd442d63af9e412fcb758e6.tar.gz
hdf5-8e468d9dec965e575dd442d63af9e412fcb758e6.tar.bz2
[svn-r8766]
Purpose: Small H5I API changes. Description: Changed public version of H5Inmembers to return the number of IDs in a type by reference. This allows the user to differentiate between the case when H5Inmembers has an error and when the ID type is just empty. Added a new API function, H5Itype_exists, which allows the user to find out whether an ID type exists or not, without throwing an error. Solution: Platforms tested: Copper Misc. update:
Diffstat (limited to 'src/H5Ipublic.h')
-rw-r--r--src/H5Ipublic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Ipublic.h b/src/H5Ipublic.h
index c8787c9..67357bb 100644
--- a/src/H5Ipublic.h
+++ b/src/H5Ipublic.h
@@ -93,7 +93,8 @@ H5_DLL int H5Iinc_type_ref(H5I_type_t type);
H5_DLL int H5Idec_type_ref(H5I_type_t type);
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 int H5Inmembers(H5I_type_t type);
+H5_DLL herr_t H5Inmembers(H5I_type_t type, int *num_members);
+H5_DLL htri_t H5Itype_exists(H5I_type_t type);
#ifdef __cplusplus