diff options
Diffstat (limited to 'src/H5Pprivate.h')
-rw-r--r-- | src/H5Pprivate.h | 18 |
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 |