diff options
Diffstat (limited to 'tools/lib/h5tools.h')
-rw-r--r-- | tools/lib/h5tools.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h index d5603f7..0c3633f 100644 --- a/tools/lib/h5tools.h +++ b/tools/lib/h5tools.h @@ -413,8 +413,9 @@ typedef struct h5tools_context_t { *row */ int indent_level; /*the number of times we need some *extra indentation */ - int default_indent_level; /*this is used when the indent - *level gets changed */ + int default_indent_level; /*this is used when the indent level gets changed */ + hsize_t acc[H5S_MAX_RANK]; /* accumulator position */ + hsize_t pos[H5S_MAX_RANK]; /* matrix position */ } h5tools_context_t; /* a structure to hold the subsetting particulars for a dataset */ @@ -510,4 +511,7 @@ extern int h5tools_canreadf(const char* name, hid_t dcpl_id); extern int h5tools_can_encode(H5Z_filter_t filtn); +void init_acc_pos(h5tools_context_t *ctx, hsize_t *dims); + + #endif /* H5TOOLS_H__ */ |