2014-06-21 18:01:19 +00:00
|
|
|
/* os_version_info.h
|
|
|
|
* Declarations of outines to report operating system version information
|
2012-11-22 06:02:49 +00:00
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2014-06-21 18:01:19 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
2012-11-22 06:02:49 +00:00
|
|
|
*
|
2017-12-10 03:24:10 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2012-11-22 06:02:49 +00:00
|
|
|
*/
|
|
|
|
|
2014-06-21 18:01:19 +00:00
|
|
|
#ifndef __WSUTIL_OS_VERSION_INFO_H__
|
|
|
|
#define __WSUTIL_OS_VERSION_INFO_H__
|
2012-11-22 06:02:49 +00:00
|
|
|
|
2014-06-21 18:01:19 +00:00
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Get the OS version, and append it to a GString.
|
|
|
|
*/
|
|
|
|
WS_DLL_PUBLIC void get_os_version_info(GString *str);
|
|
|
|
|
2014-06-21 21:32:45 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
/*
|
|
|
|
* Get the Windows major OS version.
|
|
|
|
*/
|
|
|
|
WS_DLL_PUBLIC guint32 get_windows_major_version(void);
|
|
|
|
#endif
|
|
|
|
|
2014-06-21 18:01:19 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* __WSUTIL_OS_VERSION_INFO_H__ */
|