summaryrefslogtreecommitdiffstats
path: root/src/H5Tprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-02-06 15:31:23 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-02-06 15:31:23 (GMT)
commitaaeecad6564fe93bb8de567220eed453f890acf4 (patch)
treeb666ca7cd7876ab85cb303c2084f845f45189560 /src/H5Tprivate.h
parentad6408e3849dae8bbb1fb25597ccd2f44af7cb36 (diff)
downloadhdf5-aaeecad6564fe93bb8de567220eed453f890acf4.zip
hdf5-aaeecad6564fe93bb8de567220eed453f890acf4.tar.gz
hdf5-aaeecad6564fe93bb8de567220eed453f890acf4.tar.bz2
[svn-r8157] Purpose:
Code cleanup/optimization Description: Hoist property list queries up out of inner loops to cache the values at a higher level and pass them into the lower-level routines. Platforms tested: IBM p690 (copper) w/parallel & fphdf5 h5committest
Diffstat (limited to 'src/H5Tprivate.h')
-rw-r--r--src/H5Tprivate.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/H5Tprivate.h b/src/H5Tprivate.h
index ce975a1..6013ce5 100644
--- a/src/H5Tprivate.h
+++ b/src/H5Tprivate.h
@@ -21,6 +21,9 @@
/* Get package's public header */
#include "H5Tpublic.h"
+/* Other public headers needed by this file */
+#include "H5MMpublic.h" /* Memory management */
+
/* Private headers needed by this file */
#include "H5private.h" /* Generic Functions */
#include "H5Gprivate.h" /* Groups */
@@ -46,6 +49,14 @@ typedef enum {
H5T_LOC_MAXLOC /* highest value (Invalid as true value) */
} H5T_loc_t;
+/* VL allocation information */
+typedef struct {
+ H5MM_allocate_t alloc_func; /* Allocation function */
+ void *alloc_info; /* Allocation information */
+ H5MM_free_t free_func; /* Free function */
+ void *free_info; /* Free information */
+} H5T_vlen_alloc_info_t;
+
/* Private functions */
H5_DLL herr_t H5TN_init_interface(void);
H5_DLL herr_t H5T_init(void);
@@ -70,6 +81,7 @@ H5_DLL herr_t H5T_convert(H5T_path_t *tpath, hid_t src_id, hid_t dst_id,
hsize_t nelmts, size_t buf_stride, size_t bkg_stride,
void *buf, void *bkg, hid_t dset_xfer_plist);
H5_DLL herr_t H5T_vlen_reclaim(void *elem, hid_t type_id, hsize_t ndim, hssize_t *point, void *_op_data);
+H5_DLL herr_t H5T_vlen_get_alloc_info(hid_t dxpl_id, H5T_vlen_alloc_info_t *vl_alloc_info);
H5_DLL htri_t H5T_is_sensible(const H5T_t *dt);
H5_DLL htri_t H5T_set_loc(H5T_t *dt, H5F_t *f, H5T_loc_t loc);
H5_DLL htri_t H5T_committed(H5T_t *type);