summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-01-08 14:55:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-01-08 14:55:19 (GMT)
commit300af1d8097dc15ad2a30b7813b66eeb54118b48 (patch)
tree2a4ad717c79e92c2f31d5c427f522041a67354b6 /src/H5Ppublic.h
parent4264e3444aaba267c5ad6848437e5d89d043ba70 (diff)
downloadhdf5-300af1d8097dc15ad2a30b7813b66eeb54118b48.zip
hdf5-300af1d8097dc15ad2a30b7813b66eeb54118b48.tar.gz
hdf5-300af1d8097dc15ad2a30b7813b66eeb54118b48.tar.bz2
[svn-r8039] Purpose:
Bug fix Description: When two property lists are compared, the H5Pequal routine was just comparing the raw information for the property values. This causes problems when the raw information contains pointers to other information. Solution: Allow a 'compare' callback to be registered for properties, so that a user application get perform the comparison itself, allowing for "deep" compares of the property value. This was exported to the H5Pregister & H5Pinsert routines in the development branch, but not the release branch. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index 65751dc..621524e 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -70,6 +70,7 @@ typedef H5P_prp_cb2_t H5P_prp_set_func_t;
typedef H5P_prp_cb2_t H5P_prp_get_func_t;
typedef H5P_prp_cb2_t H5P_prp_delete_func_t;
typedef H5P_prp_cb1_t H5P_prp_copy_func_t;
+typedef int (*H5P_prp_compare_func_t)(const void *value1, const void *value2, size_t size);
typedef H5P_prp_cb1_t H5P_prp_close_func_t;
/* Define property list iteration function type */
@@ -157,6 +158,7 @@ H5_DLL herr_t H5Punregister(hid_t pclass_id, const char *name);
H5_DLL herr_t H5Pclose_class(hid_t plist_id);
H5_DLL herr_t H5Pclose(hid_t plist_id);
H5_DLL hid_t H5Pcopy(hid_t plist_id);
+
H5_DLL herr_t H5Pget_version(hid_t plist_id, int *boot/*out*/,
int *freelist/*out*/, int *stab/*out*/,
int *shhdr/*out*/);