summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5trav.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-01-23 22:08:51 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-01-23 22:08:51 (GMT)
commit85751bbbe9cd8eb592ea2b58d2cfa07cc16cfc72 (patch)
tree90f75cb32cb6066cc09f79ca4d57446f6ebfdb95 /tools/h5diff/h5trav.h
parentf1c8081093204f16e53c2bf524fbdf93e6c319e8 (diff)
downloadhdf5-85751bbbe9cd8eb592ea2b58d2cfa07cc16cfc72.zip
hdf5-85751bbbe9cd8eb592ea2b58d2cfa07cc16cfc72.tar.gz
hdf5-85751bbbe9cd8eb592ea2b58d2cfa07cc16cfc72.tar.bz2
[svn-r6326] Purpose:
added h5diff to CVS current version, options only work for float dataset type Platforms tested: windows, linux
Diffstat (limited to 'tools/h5diff/h5trav.h')
-rw-r--r--tools/h5diff/h5trav.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/tools/h5diff/h5trav.h b/tools/h5diff/h5trav.h
new file mode 100644
index 0000000..2255b7f
--- /dev/null
+++ b/tools/h5diff/h5trav.h
@@ -0,0 +1,50 @@
+/*
+ * Copyright (c) 2001 National Center for Supercomputing Applications
+ * All rights reserved.
+ *
+ * Programmer: Pedro Vicente, pvn@ncsa.uiuc.edu
+ * Monday, 4. November 2002
+ */
+#ifndef H5TRAV_H__
+#define H5TRAV_H__
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/*struct to store name and type of an object */
+typedef struct info_t {
+ char *name;
+ int type;
+} info_t;
+
+
+/* public methods */
+int H5get_object_info( hid_t file_id, info_t *info );
+
+
+
+/*struct to store basic info about an object */
+typedef struct obj_t {
+ unsigned long objno[2];
+ char *objname;
+ int displayed;
+ int recorded;
+} obj_t;
+
+/*struct that stores all objects, excluding shared objects */
+typedef struct table_t {
+ int size;
+ int nobjs;
+ obj_t *objs;
+} table_t;
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif /* H5TRAV_H__ */