summaryrefslogtreecommitdiffstats
path: root/src/H5VLpublic.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-23 16:31:07 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-23 16:31:07 (GMT)
commit89456ae48793e7063298980277e718491db13813 (patch)
tree199b0943a52ad20507b6be21985a3d73eafd36a0 /src/H5VLpublic.h
parente3964f7c160879000bebb27b1845a157f117265d (diff)
downloadhdf5-89456ae48793e7063298980277e718491db13813.zip
hdf5-89456ae48793e7063298980277e718491db13813.tar.gz
hdf5-89456ae48793e7063298980277e718491db13813.tar.bz2
[svn-r25472] minor changes.
Diffstat (limited to 'src/H5VLpublic.h')
-rw-r--r--src/H5VLpublic.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/H5VLpublic.h b/src/H5VLpublic.h
index 7e51e4b..3f7c2da 100644
--- a/src/H5VLpublic.h
+++ b/src/H5VLpublic.h
@@ -88,14 +88,14 @@ typedef enum H5VL_file_get_t {
H5VL_FILE_GET_NAME, /* file name */
H5VL_FILE_GET_OBJ_COUNT, /* object count in file */
H5VL_FILE_GET_OBJ_IDS, /* object ids in file */
- H5VL_OBJECT_GET_FILE
+ H5VL_OBJECT_GET_FILE /* retrieve or resurrect file of object */
} H5VL_file_get_t;
/* types for all file misc operations */
typedef enum H5VL_file_misc_t {
- H5VL_FILE_MOUNT,
- H5VL_FILE_UNMOUNT,
- H5VL_FILE_IS_ACCESSIBLE
+ H5VL_FILE_MOUNT, /* Mount a file */
+ H5VL_FILE_UNMOUNT, /* Un-Mount a file */
+ H5VL_FILE_IS_ACCESSIBLE /* Check if a file is accessible */
} H5VL_file_misc_t;
/* types for all file optional operations */
@@ -211,9 +211,6 @@ typedef struct H5VL_loc_params_t {
#define H5VL_VOL_DEFAULT 0 /* Default VOL plugin value */
-/* Forward declaration */
-typedef struct H5VL_t H5VL_t;
-
/* H5A routines */
typedef struct H5VL_attr_class_t {
void *(*create)(void *obj, H5VL_loc_params_t loc_params, const char *attr_name, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req);
@@ -223,7 +220,7 @@ typedef struct H5VL_attr_class_t {
herr_t (*iterate) (void *obj, H5VL_loc_params_t loc_params,
H5_index_t idx_type, H5_iter_order_t order, hsize_t *n,
H5A_operator2_t op, void *op_data, hid_t dxpl_id, void **req);
- herr_t (*get) (void *attr, H5VL_attr_get_t get_type, hid_t dxpl_id, void **req, va_list arguments);
+ herr_t (*get) (void *obj, H5VL_attr_get_t get_type, hid_t dxpl_id, void **req, va_list arguments);
herr_t (*remove)(void *obj, H5VL_loc_params_t loc_params, const char *attr_name, hid_t dxpl_id, void **req);
herr_t (*close) (void *attr, hid_t dxpl_id, void **req);
} H5VL_attr_class_t;
@@ -336,12 +333,12 @@ typedef struct H5VL_class_t {
* plugins are declared here and the plugin appends private fields in
* memory.
*/
-struct H5VL_t {
+typedef struct H5VL_t {
const H5VL_class_t *cls; /*constant class info */
const char *container_name; /* name of the underlying storage container */
unsigned long feature_flags; /* VOL Driver feature Flags */
int nrefs; /* number of references by objects using this struct */
-};
+} H5VL_t;
#ifdef __cplusplus
extern "C" {