Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
os_version_info.h
1 /* os_version_info.h
2  * Declarations of outines to report operating system version information
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __WSUTIL_OS_VERSION_INFO_H__
12 #define __WSUTIL_OS_VERSION_INFO_H__
13 
14 #include "ws_symbol_export.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif /* __cplusplus */
19 
20 /*
21  * Get the OS version, and append it to a GString.
22  */
23 WS_DLL_PUBLIC void get_os_version_info(GString *str);
24 
25 #ifdef _WIN32
26 /*
27  * Get the Windows major OS version.
28  */
29 WS_DLL_PUBLIC guint32 get_windows_major_version(void);
30 #endif
31 
32 #ifdef __cplusplus
33 }
34 #endif /* __cplusplus */
35 
36 #endif /* __WSUTIL_OS_VERSION_INFO_H__ */