summaryrefslogtreecommitdiff
path: root/version_info.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-09-15 00:18:17 +0000
committerGerald Combs <gerald@wireshark.org>2007-09-15 00:18:17 +0000
commitd2d4fcd903f3c675d85a4d32bff280f4a5bc8e6e (patch)
tree88cf3b0551436062acb26b33f60dd27417944d81 /version_info.h
parentd0c2725672061a344852cc3f7473e36826522638 (diff)
downloadwireshark-d2d4fcd903f3c675d85a4d32bff280f4a5bc8e6e.tar.gz
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. svn path=/trunk/; revision=22877
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 */