diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-05-13 15:18:12 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-05-13 15:18:12 (GMT) |
commit | 8fc87f22672fcd0128db11d98624f1dfaba50afe (patch) | |
tree | 32425f75c10bd2b3825d15f4f330fde47ab0e152 /tools/h5tools.h | |
parent | 3967b1f5dbbb8c6a10891d2e2be246abaa637bf2 (diff) | |
download | hdf5-8fc87f22672fcd0128db11d98624f1dfaba50afe.zip hdf5-8fc87f22672fcd0128db11d98624f1dfaba50afe.tar.gz hdf5-8fc87f22672fcd0128db11d98624f1dfaba50afe.tar.bz2 |
[svn-r1253] started to bring the tools lib and the dumputil file together. incorportated all
the constants and from dumputil to to the tools lib and merged h5dump_fixtype
together. I had to add an extra parameter to the function to specify what action
should be taken when it hits H5T_STRING in the case statement. if the parameter
(strDUAction) is true then it does what it use to do in dumputil but if it is false
then it will do what it originally did in this file.
I also put the h5dump_sprint functions into the same file. it isn't really merged yet.
i just wanted to get everything into a file and then worry about the merging of this
function. The toolslib way of h5dump_sprint takes an extra parameter. If this
parameter is set to NULL then it will do the dumputil's version of this function.
like i said this is just the first step i am taking. it will be merged better later.
the rest of the changes to the other files were related to the above changes.
Diffstat (limited to 'tools/h5tools.h')
-rw-r--r-- | tools/h5tools.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/h5tools.h b/tools/h5tools.h index a6ed864..53d7748 100644 --- a/tools/h5tools.h +++ b/tools/h5tools.h @@ -223,9 +223,18 @@ typedef struct h5dump_t { } h5dump_t; -hid_t h5dump_fixtype(hid_t f_type); +hid_t h5dump_fixtype(hid_t f_type,hbool_t strDUAction); int h5dump_dset(FILE *stream, const h5dump_t *info, hid_t dset, hid_t p_type); int h5dump_mem(FILE *stream, const h5dump_t *info, hid_t type, hid_t space, void *mem); +/* + taken from h5dump.h + */ +#define DATASET_DATA 1 +#define NCOLS 80 +#define COL 3 +extern int indent; +extern void indentation(int); + #endif |