summaryrefslogtreecommitdiff
path: root/lib/system_win32.h
diff options
context:
space:
mode:
authorCameron Cawley <ccawley2011@gmail.com>2020-07-31 20:36:56 +0100
committerMarcel Raad <Marcel.Raad@teamviewer.com>2020-08-02 17:58:44 +0200
commit790137b0f701fc9dc8e40d903b89be9f1ecadd00 (patch)
tree871ec08dc406d5edade332912442f704303632a0 /lib/system_win32.h
parent5c2728eb42bc49533bb3a7abd00071549fb377fb (diff)
downloadcurl-790137b0f701fc9dc8e40d903b89be9f1ecadd00.tar.gz
win32: Add Curl_verify_windows_version() to curlx
Closes https://github.com/curl/curl/pull/5754
Diffstat (limited to 'lib/system_win32.h')
-rw-r--r--lib/system_win32.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/system_win32.h b/lib/system_win32.h
index d2882fce1..474fc8bed 100644
--- a/lib/system_win32.h
+++ b/lib/system_win32.h
@@ -32,34 +32,12 @@ extern bool Curl_isVistaOrGreater;
CURLcode Curl_win32_init(long flags);
void Curl_win32_cleanup(long init_flags);
-/* Version condition */
-typedef enum {
- VERSION_LESS_THAN,
- VERSION_LESS_THAN_EQUAL,
- VERSION_EQUAL,
- VERSION_GREATER_THAN_EQUAL,
- VERSION_GREATER_THAN
-} VersionCondition;
-
-/* Platform identifier */
-typedef enum {
- PLATFORM_DONT_CARE,
- PLATFORM_WINDOWS,
- PLATFORM_WINNT
-} PlatformIdentifier;
-
/* We use our own typedef here since some headers might lack this */
typedef unsigned int(WINAPI *IF_NAMETOINDEX_FN)(const char *);
/* This is used instead of if_nametoindex if available on Windows */
extern IF_NAMETOINDEX_FN Curl_if_nametoindex;
-/* This is used to verify if we are running on a specific windows version */
-bool Curl_verify_windows_version(const unsigned int majorVersion,
- const unsigned int minorVersion,
- const PlatformIdentifier platform,
- const VersionCondition condition);
-
/* This is used to dynamically load DLLs */
HMODULE Curl_load_library(LPCTSTR filename);