diff options
Diffstat (limited to 'src/H5Dprivate.h')
-rw-r--r-- | src/H5Dprivate.h | 35 |
1 files changed, 7 insertions, 28 deletions
diff --git a/src/H5Dprivate.h b/src/H5Dprivate.h index 7f2a0ce..cfef073 100644 --- a/src/H5Dprivate.h +++ b/src/H5Dprivate.h @@ -147,44 +147,24 @@ typedef struct H5D_t { H5G_entry_t ent; /* cached object header stuff */ H5T_t *type; /* datatype of this dataset */ + H5S_t *space; /* dataspace of this dataset */ hid_t dcpl_id; /* dataset creation property id */ H5O_layout_t layout; /* data layout */ + /* Cache some frequently accessed values from the DCPL */ + H5O_efl_t efl; /* External file list information */ + H5D_alloc_time_t alloc_time; /* Dataset allocation time */ + H5D_fill_time_t fill_time; /* Dataset fill value writing time */ + H5O_fill_t fill; /* Dataset fill value information */ } H5D_t; /* Functions defined in H5D.c */ H5_DLL herr_t H5D_init(void); - -H5_DLL herr_t H5D_update_entry_cache(H5F_t *f, H5G_entry_t *ent, H5G_entry_t *loc, - const char *name, const H5S_t *space, - H5P_genplist_t *new_plist, H5O_layout_t *layout, - H5T_t *type, hbool_t allocate_header, - haddr_t header); -H5_DLL herr_t H5D_update_external_storage_cache(H5F_t *file, H5G_entry_t *ent, - H5O_efl_t *efl, H5O_layout_t *layout); - -H5_DLL H5D_t *H5D_create(H5G_entry_t *loc, const char *name, - const H5T_t *type, const H5S_t *space, - hid_t dcpl_id); -H5_DLL H5D_t *H5D_open(H5G_entry_t *loc, const char *name); +H5_DLL hid_t H5D_open(H5G_entry_t *ent); H5_DLL herr_t H5D_close(H5D_t *dataset); H5_DLL htri_t H5D_isa(H5G_entry_t *ent); -H5_DLL herr_t H5D_read(H5D_t *dataset, const H5T_t *mem_type, - const H5S_t *mem_space, const H5S_t *file_space, - hid_t dset_xfer_plist, void *buf/*out*/); -H5_DLL herr_t H5D_write(H5D_t *dataset, const H5T_t *mem_type, - const H5S_t *mem_space, const H5S_t *file_space, - hid_t dset_xfer_plist, const void *buf); H5_DLL herr_t H5D_extend(H5D_t *dataset, const hsize_t *size); H5_DLL H5G_entry_t *H5D_entof(H5D_t *dataset); H5_DLL H5T_t *H5D_typeof(H5D_t *dset); -H5_DLL H5S_t *H5D_get_space(H5D_t *dset); -H5_DLL H5D_t * H5D_open_oid(H5G_entry_t *ent); -H5_DLL H5F_t * H5D_get_file(const H5D_t *dset); -H5_DLL hsize_t H5D_get_storage_size(H5D_t *dset); -H5_DLL haddr_t H5D_get_offset(H5D_t *dset); -H5_DLL void *H5D_vlen_get_buf_size_alloc(size_t size, void *info); -H5_DLL herr_t H5D_vlen_get_buf_size(void *elem, hid_t type_id, hsize_t ndim, - hssize_t *point, void *op_data); H5_DLL herr_t H5D_crt_copy(hid_t new_plist_t, hid_t old_plist_t, void *copy_data); H5_DLL herr_t H5D_crt_close(hid_t dxpl_id, void *close_data); @@ -192,7 +172,6 @@ H5_DLL herr_t H5D_xfer_create(hid_t dxpl_id, void *create_data); H5_DLL herr_t H5D_xfer_copy(hid_t new_plist_id, hid_t old_plist_id, void *copy_data); H5_DLL herr_t H5D_xfer_close(hid_t dxpl_id, void *close_data); -H5_DLL herr_t H5D_set_extent(H5D_t *dataset, const hsize_t *size); H5_DLL herr_t H5D_flush(H5F_t *f); |