summaryrefslogtreecommitdiff
path: root/utils/mcpu-version.h
diff options
context:
space:
mode:
authorkx <kx@radix-linux.su>2026-10-09 18:00:15 +0300
committerkx <kx@radix-linux.su>2026-10-09 18:00:15 +0300
commit065da3509019b15dd0e678072e6be629e5330bef (patch)
tree69c934c9e786ac048b4fbe8f4c4c5571661521f4 /utils/mcpu-version.h
parentd130fe27fa753be02ed76fd9b277aa3c3d928eb9 (diff)
downloadlibmcpu-0.4.0.tar.xz
Version 0.4.00.4.0
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__ */