diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-03-22 22:05:21 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-03-22 22:05:21 (GMT) |
commit | 53f19d479479ca9098bbb02d1fee2e471a23ce81 (patch) | |
tree | 69c5f0ef18dcbcbf598d76b046c4d00735982370 /src/H5VLpublic.h | |
parent | 053ae6e11ee81b9ede8469dc906c1fa4c70d6228 (diff) | |
download | hdf5-53f19d479479ca9098bbb02d1fee2e471a23ce81.zip hdf5-53f19d479479ca9098bbb02d1fee2e471a23ce81.tar.gz hdf5-53f19d479479ca9098bbb02d1fee2e471a23ce81.tar.bz2 |
[svn-r22125] add get callback for datasets
Diffstat (limited to 'src/H5VLpublic.h')
-rw-r--r-- | src/H5VLpublic.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/H5VLpublic.h b/src/H5VLpublic.h index 06201cb..0c62563 100644 --- a/src/H5VLpublic.h +++ b/src/H5VLpublic.h @@ -42,6 +42,17 @@ typedef enum H5VL_file_get_t { H5F_GET_FREE_SECTIONS = 13 /*file free selections */ } H5VL_file_get_t; +/* types for all dataset get API routines */ +typedef enum H5VL_dataset_get_t { + H5D_GET_SPACE = 0, /* dataspace */ + H5D_GET_SPACE_STATUS = 1, /* space status */ + H5D_GET_TYPE = 2, /* datatype */ + H5D_GET_DCPL = 3, /* creation property list */ + H5D_GET_DAPL = 4, /* access property list */ + H5D_GET_STORAGE_SIZE = 5, /* storage size */ + H5D_GET_OFFSET = 6 /* offset */ +} H5VL_dataset_get_t; + /* types for all group get API routines */ typedef enum H5VL_group_get_t { H5G_GET_GCPL = 0, /*group creation property list */ @@ -82,7 +93,7 @@ typedef struct H5VL_dataset_class_t { hid_t xfer_plist_id, void * buf); herr_t (*write) (hid_t dataset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t xfer_plist_id, const void * buf ); - herr_t (*extend)(hid_t dset_id, const hsize_t size[] ); + herr_t (*get) (hid_t file_id, H5VL_dataset_get_t get_type, int num_args, va_list arguments); } H5VL_dataset_class_t; /* H5A routines */ |