summaryrefslogtreecommitdiffstats
path: root/src/H5Pprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-04-15 20:28:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-04-15 20:28:12 (GMT)
commit2ec6fd667bb4c49539bb820cb2b6f426e6c4c10a (patch)
tree77e150c8e92dcc45e759cf1addc5d3b103401a32 /src/H5Pprivate.h
parentf12e3316665d7ac89820cc9ccecfad8e5537ce44 (diff)
downloadhdf5-2ec6fd667bb4c49539bb820cb2b6f426e6c4c10a.zip
hdf5-2ec6fd667bb4c49539bb820cb2b6f426e6c4c10a.tar.gz
hdf5-2ec6fd667bb4c49539bb820cb2b6f426e6c4c10a.tar.bz2
[svn-r2151] Modified H5_term_library to not reported errors when H5Eset_auto(NULL,NULL)
has turned off error reporting in the library. Also, changed the way property lists are managed and closed so that they can be automatically closed when the library terminates.
Diffstat (limited to 'src/H5Pprivate.h')
-rw-r--r--src/H5Pprivate.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h
index 8a8bd93..0e66841 100644
--- a/src/H5Pprivate.h
+++ b/src/H5Pprivate.h
@@ -21,10 +21,24 @@
/* Private headers needed by this file */
#include <H5private.h>
#include <H5Fprivate.h>
+#include <H5Dprivate.h>
-__DLL__ hid_t H5P_create(H5P_class_t type, void *tmpl);
+/* Master property list structure */
+typedef struct {
+ /* Union of all the different kinds of property lists */
+ union {
+ H5F_create_t fcreate; /* File creation properties */
+ H5F_access_t faccess; /* File access properties */
+ H5D_create_t dcreate; /* Dataset creation properties */
+ H5F_xfer_t dxfer; /* Data transfer properties */
+ H5F_mprop_t mount; /* Mounting properties */
+ } u;
+ H5P_class_t class; /* Property list class */
+} H5P_t;
+
+__DLL__ hid_t H5P_create(H5P_class_t type, H5P_t *plist);
__DLL__ void *H5P_copy(H5P_class_t type, const void *src);
-__DLL__ herr_t H5P_close(H5P_class_t type, void *tmpl);
+__DLL__ herr_t H5P_close(void *plist);
__DLL__ H5P_class_t H5P_get_class(hid_t tid);
#endif