aboutsummaryrefslogtreecommitdiffstats
path: root/src/libimcv/os_info/os_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libimcv/os_info/os_info.h')
-rw-r--r--src/libimcv/os_info/os_info.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libimcv/os_info/os_info.h b/src/libimcv/os_info/os_info.h
index f39d8ae41..12ff9791d 100644
--- a/src/libimcv/os_info/os_info.h
+++ b/src/libimcv/os_info/os_info.h
@@ -52,6 +52,15 @@ struct os_info_t {
chunk_t (*get_name)(os_info_t *this);
/**
+ * Get the numeric OS version or release
+ *
+ * @param major OS major version number
+ * @param minor OS minor version number
+ */
+ void (*get_numeric_version)(os_info_t *this, u_int32_t *major,
+ u_int32_t *minor);
+
+ /**
* Get the OS version or release
*
* @return OS version