summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5trav.h
diff options
context:
space:
mode:
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__ */