summaryrefslogtreecommitdiffstats
path: root/tools/h5toh4/h5toh4.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-02-22 21:53:56 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-02-22 21:53:56 (GMT)
commit2821175f3f9ec2e443b11d31122adba95d413f31 (patch)
treeec823d20706fef1b4fe8f6699e9326a4806e1f7e /tools/h5toh4/h5toh4.h
parent416a86e3ce3b967553003267a6e77c037e21815f (diff)
downloadhdf5-2821175f3f9ec2e443b11d31122adba95d413f31.zip
hdf5-2821175f3f9ec2e443b11d31122adba95d413f31.tar.gz
hdf5-2821175f3f9ec2e443b11d31122adba95d413f31.tar.bz2
[svn-r3489] Purpose:
Code Movement Description: Moved tools code into their own separate subdirectories Platforms tested: Linux, Kelgia
Diffstat (limited to 'tools/h5toh4/h5toh4.h')
-rw-r--r--tools/h5toh4/h5toh4.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/tools/h5toh4/h5toh4.h b/tools/h5toh4/h5toh4.h
new file mode 100644
index 0000000..d268060
--- /dev/null
+++ b/tools/h5toh4/h5toh4.h
@@ -0,0 +1,43 @@
+/*
+ * Copyright © 1998 NCSA
+ * All rights reserved.
+ *
+ * Programmer: Paul Harten <pharten@ncsa.uiuc.edu>
+ * Friday, October 16th, 1998
+ *
+ * Purpose: Convert H5 files to H4 files.
+ */
+
+#ifndef _H5TOH4_H
+#define _H5TOH4_H
+
+#include "hdf.h"
+#include "mfhdf.h"
+#include "hdf5.h"
+
+#ifdef H5_HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+
+typedef struct op_data_t {
+ /*
+ * information being carried between iterations.
+ *
+ */
+
+ int32 hfile_id;
+ int32 vgroup_id;
+ int32 sd_id;
+ int32 sds_id;
+ int32 vdata_id;
+ int32 obj_idx;
+
+} op_data_t;
+
+#ifdef H5TOH4_DEBUG
+#define DEBUG_PRINT(s1,s2,s3,n1) ( fprintf(stderr,s1,s2,s3,n1) )
+#else
+#define DEBUG_PRINT(s1,s2,s3,n1) ( fprintf(stderr," ") )
+#endif
+
+#endif