aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.h
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-15 00:18:17 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-15 00:18:17 +0000
commite0b8cab0cdd6e78db871b149a8bdbf546a4af647 (patch)
tree88cf3b0551436062acb26b33f60dd27417944d81 /version_info.h
parent23daeb41aa620ad86538f69a0ca42474f0c0ce61 (diff)
Add routines under Windows to check if npf.sys is running, and to
fetch the major OS version. If we're running Windows >= 6 (Vista) _and_ npf.sys isn't running, warn the user in Wireshark and TShark. Add a recent prefs item to disable the warning in Wireshark. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22877 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'version_info.h')
-rw-r--r--version_info.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/version_info.h b/version_info.h
index bd2464fbf9..d002b7805d 100644
--- a/version_info.h
+++ b/version_info.h
@@ -65,6 +65,13 @@ void get_runtime_version_info(GString *str,
*/
const char *get_copyright_info(void);
+#if defined(_WIN32)
+/*
+ * Get the major OS version.
+ */
+guint32 get_os_major_version();
+#endif
+
#ifdef __cplusplus
}
#endif /* __cplusplus */