summaryrefslogtreecommitdiff
path: root/utils/mcpu-version.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mcpu-version.h')
-rw-r--r--utils/mcpu-version.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/utils/mcpu-version.h b/utils/mcpu-version.h
new file mode 100644
index 0000000..5eee32f
--- /dev/null
+++ b/utils/mcpu-version.h
@@ -0,0 +1,15 @@
+#ifndef __MCPU_VERSION_H__
+#define __MCPU_VERSION_H__ 1
+
+typedef enum mcpu_version_action
+{
+ MCPU_VERSION_NONE = 0,
+ MCPU_VERSION_FULL,
+ MCPU_VERSION_DUMP
+} mcpu_version_action;
+
+int mcpu_version_parse_option( const char *option,
+ mcpu_version_action *action );
+int mcpu_version_print( const char *progname, mcpu_version_action action );
+
+#endif /* __MCPU_VERSION_H__ */