Commit 20212c5f authored by brinn's avatar brinn
Browse files

Migrate JHDF5 to HDF5 1.10.

A big 'thank you' goes to Gerd Heber from the HDF Group for doing a lot of the porting work to 1.10.
parent eb715b2c
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#ifndef H5UTIL_H__
#define H5UTIL_H__
#ifndef SUCCEED
#define SUCCEED 0
#endif
#ifndef FAIL
#define FAIL (-1)
#endif
typedef struct h5str_t {
char *s;
size_t max; /* the allocated size of the string */
} h5str_t;
void h5str_new (h5str_t *str, size_t len);
void h5str_free (h5str_t *str);
void h5str_resize (h5str_t *str, size_t new_len);
char* h5str_append (h5str_t *str, const char* cstr);
int h5str_sprintf(h5str_t *str, hid_t container, hid_t tid, void *buf, int expand_data);
void h5str_array_free(char **strs, size_t len);
int h5str_dump_simple_dset(FILE *stream, hid_t dset, int binary_order);
int h5str_dump_region_blocks_data(h5str_t *str, hid_t region, hid_t region_obj);
int h5str_dump_region_points_data(h5str_t *str, hid_t region, hid_t region_obj);
#endif /* H5UTIL_H__ */
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment