summaryrefslogtreecommitdiffstats
path: root/src/H5EAprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-01-28 02:11:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-01-28 02:11:39 (GMT)
commit7191f26717255667e86c86559ffc316f73f4c1bd (patch)
tree3179c22066f9880e7f09849e8a620ad398f68fa9 /src/H5EAprivate.h
parent2cbd7f1b3cd50d21279ef81093632cb7bf6f97ea (diff)
downloadhdf5-7191f26717255667e86c86559ffc316f73f4c1bd.zip
hdf5-7191f26717255667e86c86559ffc316f73f4c1bd.tar.gz
hdf5-7191f26717255667e86c86559ffc316f73f4c1bd.tar.bz2
[svn-r16369] Description:
Bring r16347:16367 from trunk into revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) (h5committest not required on this branch)
Diffstat (limited to 'src/H5EAprivate.h')
-rw-r--r--src/H5EAprivate.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5EAprivate.h b/src/H5EAprivate.h
index a1f3221..3b9ba4d 100644
--- a/src/H5EAprivate.h
+++ b/src/H5EAprivate.h
@@ -62,9 +62,11 @@ typedef struct H5EA_class_t {
size_t nat_elmt_size; /* Size of native (memory) element */
/* Extensible array client callback methods */
+ void *(*crt_context)(const H5F_t *f); /* Create context for other callbacks */
+ herr_t (*dst_context)(void *ctx); /* Destroy context */
herr_t (*fill)(void *nat_blk, size_t nelmts); /* Fill array of elements with encoded form of "missing element" value */
- herr_t (*encode)(void *raw, const void *elmt, size_t nelmts); /* Encode elements from native form to disk storage form */
- herr_t (*decode)(const void *raw, void *elmt, size_t nelmts); /* Decode elements from disk storage form to native form */
+ herr_t (*encode)(void *raw, const void *elmt, size_t nelmts, void *ctx); /* Encode elements from native form to disk storage form */
+ herr_t (*decode)(const void *raw, void *elmt, size_t nelmts, void *ctx); /* Decode elements from disk storage form to native form */
herr_t (*debug)(FILE *stream, int indent, int fwidth, hsize_t idx, const void *elmt); /* Print an element for debugging */
} H5EA_class_t;