system_win32.h
Go to the documentation of this file.
00001 #ifndef HEADER_CURL_SYSTEM_WIN32_H
00002 #define HEADER_CURL_SYSTEM_WIN32_H
00003 /***************************************************************************
00004  *                                  _   _ ____  _
00005  *  Project                     ___| | | |  _ \| |
00006  *                             / __| | | | |_) | |
00007  *                            | (__| |_| |  _ <| |___
00008  *                             \___|\___/|_| \_\_____|
00009  *
00010  * Copyright (C) 2016, Steve Holme, <steve_holme@hotmail.com>.
00011  *
00012  * This software is licensed as described in the file COPYING, which
00013  * you should have received as part of this distribution. The terms
00014  * are also available at https://curl.haxx.se/docs/copyright.html.
00015  *
00016  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
00017  * copies of the Software, and permit persons to whom the Software is
00018  * furnished to do so, under the terms of the COPYING file.
00019  *
00020  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
00021  * KIND, either express or implied.
00022  *
00023  ***************************************************************************/
00024 
00025 #include "curl_setup.h"
00026 
00027 #if defined(WIN32)
00028 
00029 /* Version condition */
00030 typedef enum {
00031   VERSION_LESS_THAN,
00032   VERSION_LESS_THAN_EQUAL,
00033   VERSION_EQUAL,
00034   VERSION_GREATER_THAN_EQUAL,
00035   VERSION_GREATER_THAN
00036 } VersionCondition;
00037 
00038 /* Platform identifier */
00039 typedef enum {
00040   PLATFORM_DONT_CARE,
00041   PLATFORM_WINDOWS,
00042   PLATFORM_WINNT
00043 } PlatformIdentifier;
00044 
00045 /* This is used to verify if we are running on a specific windows version */
00046 bool Curl_verify_windows_version(const unsigned int majorVersion,
00047                                  const unsigned int minorVersion,
00048                                  const PlatformIdentifier platform,
00049                                  const VersionCondition condition);
00050 
00051 #if defined(USE_WINDOWS_SSPI) || (!defined(CURL_DISABLE_TELNET) && \
00052                                   defined(USE_WINSOCK))
00053 
00054 /* This is used to dynamically load DLLs */
00055 HMODULE Curl_load_library(LPCTSTR filename);
00056 
00057 #endif /* USE_WINDOWS_SSPI || (!CURL_DISABLE_TELNET && USE_WINSOCK) */
00058 
00059 #endif /* WIN32 */
00060 
00061 #endif /* HEADER_CURL_SYSTEM_WIN32_H */


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:06