summaryrefslogtreecommitdiffstats
path: root/tools/src/h5diff/h5diff_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/src/h5diff/h5diff_common.h')
-rw-r--r--tools/src/h5diff/h5diff_common.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/tools/src/h5diff/h5diff_common.h b/tools/src/h5diff/h5diff_common.h
new file mode 100644
index 0000000..4ca476a
--- /dev/null
+++ b/tools/src/h5diff/h5diff_common.h
@@ -0,0 +1,34 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the COPYING file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+#ifndef H5DIFFCOMMON_H
+#define H5DIFFCOMMON_H
+
+#include "h5tools.h"
+/* Name of tool */
+#define PROGRAMNAME "h5diff"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void usage(void);
+void parse_command_line(int argc, const char *const *argv, const char **fname1, const char **fname2,
+ const char **objname1, const char **objname2, diff_opt_t *opts);
+void h5diff_exit(int status);
+void print_info(diff_opt_t *opts);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* H5DIFFCOMMON_H */