diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-06-06 18:07:20 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-06-06 18:07:20 (GMT) |
commit | 4d16bcfecbf51574e3f8bb8cd0e50373892fa462 (patch) | |
tree | 44e97bf287bc7fae2540e6c10211da44ee9517d8 /tools/h5tools.h | |
parent | 6ef640cb9934e6e6fd7b89e902ed974797b91b79 (diff) | |
download | hdf5-4d16bcfecbf51574e3f8bb8cd0e50373892fa462.zip hdf5-4d16bcfecbf51574e3f8bb8cd0e50373892fa462.tar.gz hdf5-4d16bcfecbf51574e3f8bb8cd0e50373892fa462.tar.bz2 |
[svn-r2341] took the code out of h5ls to open files using different drivers and created a function in the tools
library for it(H5ToolsFopen-takes a filename and a char ptr if you want the name of the driver)
added the function to h5tools.c, a header to h5tools.h and changed h5ls.c and h5dump.c to use the new
functions
Diffstat (limited to 'tools/h5tools.h')
-rw-r--r-- | tools/h5tools.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/h5tools.h b/tools/h5tools.h index 22ab2d3..44432b4 100644 --- a/tools/h5tools.h +++ b/tools/h5tools.h @@ -434,3 +434,8 @@ extern int nCols; /* Definitions of useful routines */ void print_version(const char *program_name); +/*used to open files so we can use different drivers*/ +hid_t H5ToolsFopen(char* fname, char* drivername); + +#define NDRIVERS 10 + |