summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-04 15:47:54 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-04 15:47:54 (GMT)
commit3a32a5e9734e9246ae488b5f67259690703c5077 (patch)
treebb83d635dd13d433f5bb16a3e38a26cab9b49867
parenta7c167e38969aeb2bc98c6f03e0a9a0584cacfb5 (diff)
downloadhdf5-3a32a5e9734e9246ae488b5f67259690703c5077.zip
hdf5-3a32a5e9734e9246ae488b5f67259690703c5077.tar.gz
hdf5-3a32a5e9734e9246ae488b5f67259690703c5077.tar.bz2
[svn-r1299]
added an enum for programtypes and the program types variable
-rw-r--r--tools/h5tools.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/tools/h5tools.h b/tools/h5tools.h
index 53d7748..c0ffab6 100644
--- a/tools/h5tools.h
+++ b/tools/h5tools.h
@@ -223,18 +223,34 @@ typedef struct h5dump_t {
} h5dump_t;
-hid_t h5dump_fixtype(hid_t f_type,hbool_t strDUAction);
+hid_t h5dump_fixtype(hid_t f_type);
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);
+int copy_atomic_char(char* output, char* input, int numchar, int freespace);
+
+
+/*if we get a new program that needs to use the library add its name here*/
+typedef enum {
+ UNKNOWN,
+ H5LS,
+ H5DUMP
+} ProgType;
+
/*
taken from h5dump.h
*/
#define DATASET_DATA 1
-#define NCOLS 80
+
#define COL 3
extern int indent;
extern void indentation(int);
-
+extern int nCols;
+/*
+ used to determine what action to take in certain cases
+ this variable should be set at the beginning of all programs
+ that use the lib
+ */
+extern ProgType programtype;
#endif