summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-15 15:32:47 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-15 15:32:47 (GMT)
commit8ff45a787db748c134f014f54b6cef8398e09b41 (patch)
tree06afed30846848ef40f0ddfae0cd318da773809b /src/H5Ppublic.h
parentd272434f022e73630164af55fd59a3da9dd3858a (diff)
downloadhdf5-8ff45a787db748c134f014f54b6cef8398e09b41.zip
hdf5-8ff45a787db748c134f014f54b6cef8398e09b41.tar.gz
hdf5-8ff45a787db748c134f014f54b6cef8398e09b41.tar.bz2
[svn-r2911] Purpose:
Bug fix and code checkpoint Description: HP's compilers didn't seem to like comparing function pointers with '<' & '>', so I've changed how the function pointers are compared to aviod those operations. This should fix last night's daily test failures on opus and sangamon. Also, more code development for generic property lists. Platforms tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index f4fe825..c0085f1 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -54,6 +54,9 @@ typedef herr_t (*H5P_prp_set_func_t)(hid_t prop_id, const char *name, void **val
typedef herr_t (*H5P_prp_get_func_t)(hid_t prop_id, const char *name, void *value);
typedef herr_t (*H5P_prp_close_func_t)(const char *name, void *value);
+/* Define property list iteration function type */
+typedef herr_t (*H5P_iterate_t)(hid_t id, const char *name, void *iter_data);
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -101,6 +104,8 @@ __DLL__ hid_t H5Pget_class_new(hid_t plist_id);
__DLL__ hid_t H5Pget_class_parent(hid_t pclass_id);
__DLL__ herr_t H5Pget(hid_t plist_id, const char *name, void * value);
__DLL__ htri_t H5Pequal(hid_t id1, hid_t id2);
+__DLL__ int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func,
+ void *iter_data);
__DLL__ herr_t H5Premove(hid_t plist_id, const char *name);
__DLL__ herr_t H5Punregister(hid_t pclass_id, const char *name);
__DLL__ herr_t H5Pclose_list(hid_t plist_id);