OpenVPN
Macros | Typedefs
config-msvc.h File Reference
#include <config-msvc-version.h>
Include dependency graph for config-msvc.h:

Go to the source code of this file.

Macros

#define CONFIGURE_DEFINES   "N/A"
 
#define ENABLE_DEF_AUTH   1
 
#define ENABLE_PF   1
 
#define ENABLE_CRYPTO_OPENSSL   1
 
#define HAVE_AEAD_CIPHER_MODES   1
 
#define ENABLE_DEBUG   1
 
#define ENABLE_EUREPHIA   1
 
#define ENABLE_FRAGMENT   1
 
#define ENABLE_HTTP_PROXY   1
 
#define ENABLE_LZO   1
 
#define ENABLE_LZ4   1
 
#define NEED_COMPAT_LZ4   1
 
#define ENABLE_MANAGEMENT   1
 
#define ENABLE_MULTIHOME   1
 
#define ENABLE_PKCS11   1
 
#define ENABLE_PLUGIN   1
 
#define ENABLE_PORT_SHARE   1
 
#define ENABLE_SOCKS   1
 
#define HAVE_ERRNO_H   1
 
#define HAVE_FCNTL_H   1
 
#define HAVE_CTYPE_H   1
 
#define HAVE_STDARG_H   1
 
#define HAVE_STDIO_H   1
 
#define HAVE_STDLIB_H   1
 
#define HAVE_STRDUP   1
 
#define HAVE_STRERROR   1
 
#define HAVE_STRINGS_H   1
 
#define HAVE_STRING_H   1
 
#define HAVE_LIMITS_H   1
 
#define HAVE_SYSTEM   1
 
#define HAVE_TIME   1
 
#define HAVE_TIME_H   1
 
#define HAVE_UNLINK   1
 
#define HAVE_VSNPRINTF   1
 
#define HAVE_WINDOWS_H   1
 
#define HAVE_WINSOCK2_H   1
 
#define HAVE_WS2TCPIP_H   1
 
#define HAVE_IO_H   1
 
#define HAVE_DIRECT_H   1
 
#define HAVE_SYS_TYPES_H   1
 
#define HAVE_SYS_STAT_H   1
 
#define HAVE_LZO_LZO1X_H   1
 
#define HAVE_LZO_LZOUTIL_H   1
 
#define HAVE_VERSIONHELPERS_H   1
 
#define HAVE_ACCESS   1
 
#define HAVE_CHDIR   1
 
#define HAVE_CHSIZE   1
 
#define HAVE_CPP_VARARG_MACRO_ISO   1
 
#define HAVE_CTIME   1
 
#define HAVE_EVP_CIPHER_CTX_SET_KEY_LENGTH   1
 
#define HAVE_IN_PKTINFO   1
 
#define HAVE_MEMSET   1
 
#define HAVE_PUTENV   1
 
#define HAVE_STAT   1
 
#define HAVE_SOCKET   1
 
#define HAVE_RECV   1
 
#define HAVE_RECVFROM   1
 
#define HAVE_SEND   1
 
#define HAVE_SENDTO   1
 
#define HAVE_LISTEN   1
 
#define HAVE_ACCEPT   1
 
#define HAVE_CONNECT   1
 
#define HAVE_BIND   1
 
#define HAVE_SELECT   1
 
#define HAVE_GETHOSTBYNAME   1
 
#define HAVE_INET_NTOA   1
 
#define HAVE_SETSOCKOPT   1
 
#define HAVE_GETSOCKOPT   1
 
#define HAVE_GETSOCKNAME   1
 
#define HAVE_POLL   1
 
#define HAVE_OPENSSL_ENGINE   1
 
#define PATH_SEPARATOR   '\\'
 
#define PATH_SEPARATOR_STR   "\\"
 
#define inline   __inline
 
#define EMPTY_ARRAY_SIZE   0
 
#define TARGET_WIN32   1
 
#define TARGET_ALIAS   "Windows-MSVC"
 
#define HAVE_DECL_SO_MARK   0
 
#define strncasecmp   strnicmp
 
#define strcasecmp   _stricmp
 
#define snprintf   _snprintf
 
#define strtoull   strtoul
 
#define in_addr_t   uint32_t
 
#define ssize_t   SSIZE_T
 
#define S_IRUSR   0
 
#define S_IWUSR   0
 
#define R_OK   4
 
#define W_OK   2
 
#define X_OK   1
 
#define F_OK   0
 
#define SIGHUP   1
 
#define SIGINT   2
 
#define SIGUSR1   10
 
#define SIGUSR2   12
 
#define SIGTERM   15
 
#define HAVE_INET_NTOP
 
#define HAVE_INET_PTON
 

Typedefs

typedef unsigned __int64 uint64_t
 
typedef unsigned __int32 uint32_t
 
typedef unsigned __int16 uint16_t
 
typedef unsigned __int8 uint8_t
 
typedef __int64 int64_t
 
typedef __int32 int32_t
 
typedef __int16 int16_t
 
typedef __int8 int8_t
 
typedef uint16_t in_port_t
 

Macro Definition Documentation

◆ CONFIGURE_DEFINES

#define CONFIGURE_DEFINES   "N/A"

Definition at line 3 of file config-msvc.h.

Referenced by usage_version().

◆ EMPTY_ARRAY_SIZE

#define EMPTY_ARRAY_SIZE   0

Definition at line 87 of file config-msvc.h.

◆ ENABLE_CRYPTO_OPENSSL

#define ENABLE_CRYPTO_OPENSSL   1

Definition at line 7 of file config-msvc.h.

◆ ENABLE_DEBUG

#define ENABLE_DEBUG   1

Definition at line 9 of file config-msvc.h.

Referenced by do_init_crypto_tls(), and do_init_socket_1().

◆ ENABLE_DEF_AUTH

#define ENABLE_DEF_AUTH   1

Definition at line 5 of file config-msvc.h.

Referenced by tls_pre_decrypt(), and tls_pre_encrypt().

◆ ENABLE_EUREPHIA

#define ENABLE_EUREPHIA   1

Definition at line 10 of file config-msvc.h.

◆ ENABLE_FRAGMENT

#define ENABLE_FRAGMENT   1

Definition at line 11 of file config-msvc.h.

◆ ENABLE_HTTP_PROXY

#define ENABLE_HTTP_PROXY   1

Definition at line 12 of file config-msvc.h.

◆ ENABLE_LZ4

#define ENABLE_LZ4   1

Definition at line 14 of file config-msvc.h.

◆ ENABLE_LZO

#define ENABLE_LZO   1

Definition at line 13 of file config-msvc.h.

◆ ENABLE_MANAGEMENT

#define ENABLE_MANAGEMENT   1

Definition at line 16 of file config-msvc.h.

◆ ENABLE_MULTIHOME

#define ENABLE_MULTIHOME   1

Definition at line 17 of file config-msvc.h.

◆ ENABLE_PF

#define ENABLE_PF   1

Definition at line 6 of file config-msvc.h.

Referenced by multi_process_incoming_link(), and multi_process_incoming_tun().

◆ ENABLE_PKCS11

#define ENABLE_PKCS11   1

Definition at line 18 of file config-msvc.h.

Referenced by do_option_warnings().

◆ ENABLE_PLUGIN

#define ENABLE_PLUGIN   1

Definition at line 19 of file config-msvc.h.

◆ ENABLE_PORT_SHARE

#define ENABLE_PORT_SHARE   1

Definition at line 20 of file config-msvc.h.

◆ ENABLE_SOCKS

#define ENABLE_SOCKS   1

Definition at line 21 of file config-msvc.h.

◆ F_OK

#define F_OK   0

Definition at line 112 of file config-msvc.h.

Referenced by check_file_access(), and open_null().

◆ HAVE_ACCEPT

#define HAVE_ACCEPT   1

Definition at line 67 of file config-msvc.h.

◆ HAVE_ACCESS

#define HAVE_ACCESS   1

Definition at line 50 of file config-msvc.h.

◆ HAVE_AEAD_CIPHER_MODES

#define HAVE_AEAD_CIPHER_MODES   1

Definition at line 8 of file config-msvc.h.

Referenced by show_available_ciphers().

◆ HAVE_BIND

#define HAVE_BIND   1

Definition at line 69 of file config-msvc.h.

◆ HAVE_CHDIR

#define HAVE_CHDIR   1

Definition at line 51 of file config-msvc.h.

◆ HAVE_CHSIZE

#define HAVE_CHSIZE   1

Definition at line 52 of file config-msvc.h.

◆ HAVE_CONNECT

#define HAVE_CONNECT   1

Definition at line 68 of file config-msvc.h.

◆ HAVE_CPP_VARARG_MACRO_ISO

#define HAVE_CPP_VARARG_MACRO_ISO   1

Definition at line 53 of file config-msvc.h.

◆ HAVE_CTIME

#define HAVE_CTIME   1

Definition at line 54 of file config-msvc.h.

◆ HAVE_CTYPE_H

#define HAVE_CTYPE_H   1

Definition at line 25 of file config-msvc.h.

◆ HAVE_DECL_SO_MARK

#define HAVE_DECL_SO_MARK   0

Definition at line 91 of file config-msvc.h.

◆ HAVE_DIRECT_H

#define HAVE_DIRECT_H   1

Definition at line 43 of file config-msvc.h.

◆ HAVE_ERRNO_H

#define HAVE_ERRNO_H   1

Definition at line 23 of file config-msvc.h.

◆ HAVE_EVP_CIPHER_CTX_SET_KEY_LENGTH

#define HAVE_EVP_CIPHER_CTX_SET_KEY_LENGTH   1

Definition at line 55 of file config-msvc.h.

◆ HAVE_FCNTL_H

#define HAVE_FCNTL_H   1

Definition at line 24 of file config-msvc.h.

◆ HAVE_GETHOSTBYNAME

#define HAVE_GETHOSTBYNAME   1

Definition at line 71 of file config-msvc.h.

◆ HAVE_GETSOCKNAME

#define HAVE_GETSOCKNAME   1

Definition at line 75 of file config-msvc.h.

◆ HAVE_GETSOCKOPT

#define HAVE_GETSOCKOPT   1

Definition at line 74 of file config-msvc.h.

◆ HAVE_IN_PKTINFO

#define HAVE_IN_PKTINFO   1

Definition at line 56 of file config-msvc.h.

Referenced by link_socket_read_tcp().

◆ HAVE_INET_NTOA

#define HAVE_INET_NTOA   1

Definition at line 72 of file config-msvc.h.

◆ HAVE_INET_NTOP

#define HAVE_INET_NTOP

Definition at line 136 of file config-msvc.h.

◆ HAVE_INET_PTON

#define HAVE_INET_PTON

Definition at line 137 of file config-msvc.h.

◆ HAVE_IO_H

#define HAVE_IO_H   1

Definition at line 42 of file config-msvc.h.

◆ HAVE_LIMITS_H

#define HAVE_LIMITS_H   1

Definition at line 33 of file config-msvc.h.

◆ HAVE_LISTEN

#define HAVE_LISTEN   1

Definition at line 66 of file config-msvc.h.

◆ HAVE_LZO_LZO1X_H

#define HAVE_LZO_LZO1X_H   1

Definition at line 46 of file config-msvc.h.

◆ HAVE_LZO_LZOUTIL_H

#define HAVE_LZO_LZOUTIL_H   1

Definition at line 47 of file config-msvc.h.

◆ HAVE_MEMSET

#define HAVE_MEMSET   1

Definition at line 57 of file config-msvc.h.

◆ HAVE_OPENSSL_ENGINE

#define HAVE_OPENSSL_ENGINE   1

Definition at line 78 of file config-msvc.h.

◆ HAVE_POLL

#define HAVE_POLL   1

Definition at line 76 of file config-msvc.h.

◆ HAVE_PUTENV

#define HAVE_PUTENV   1

Definition at line 58 of file config-msvc.h.

◆ HAVE_RECV

#define HAVE_RECV   1

Definition at line 62 of file config-msvc.h.

◆ HAVE_RECVFROM

#define HAVE_RECVFROM   1

Definition at line 63 of file config-msvc.h.

◆ HAVE_SELECT

#define HAVE_SELECT   1

Definition at line 70 of file config-msvc.h.

◆ HAVE_SEND

#define HAVE_SEND   1

Definition at line 64 of file config-msvc.h.

◆ HAVE_SENDTO

#define HAVE_SENDTO   1

Definition at line 65 of file config-msvc.h.

◆ HAVE_SETSOCKOPT

#define HAVE_SETSOCKOPT   1

Definition at line 73 of file config-msvc.h.

◆ HAVE_SOCKET

#define HAVE_SOCKET   1

Definition at line 61 of file config-msvc.h.

◆ HAVE_STAT

#define HAVE_STAT   1

Definition at line 59 of file config-msvc.h.

◆ HAVE_STDARG_H

#define HAVE_STDARG_H   1

Definition at line 26 of file config-msvc.h.

◆ HAVE_STDIO_H

#define HAVE_STDIO_H   1

Definition at line 27 of file config-msvc.h.

◆ HAVE_STDLIB_H

#define HAVE_STDLIB_H   1

Definition at line 28 of file config-msvc.h.

◆ HAVE_STRDUP

#define HAVE_STRDUP   1

Definition at line 29 of file config-msvc.h.

◆ HAVE_STRERROR

#define HAVE_STRERROR   1

Definition at line 30 of file config-msvc.h.

◆ HAVE_STRING_H

#define HAVE_STRING_H   1

Definition at line 32 of file config-msvc.h.

◆ HAVE_STRINGS_H

#define HAVE_STRINGS_H   1

Definition at line 31 of file config-msvc.h.

◆ HAVE_SYS_STAT_H

#define HAVE_SYS_STAT_H   1

Definition at line 45 of file config-msvc.h.

◆ HAVE_SYS_TYPES_H

#define HAVE_SYS_TYPES_H   1

Definition at line 44 of file config-msvc.h.

◆ HAVE_SYSTEM

#define HAVE_SYSTEM   1

Definition at line 34 of file config-msvc.h.

◆ HAVE_TIME

#define HAVE_TIME   1

Definition at line 35 of file config-msvc.h.

◆ HAVE_TIME_H

#define HAVE_TIME_H   1

Definition at line 36 of file config-msvc.h.

◆ HAVE_UNLINK

#define HAVE_UNLINK   1

Definition at line 37 of file config-msvc.h.

◆ HAVE_VERSIONHELPERS_H

#define HAVE_VERSIONHELPERS_H   1

Definition at line 48 of file config-msvc.h.

◆ HAVE_VSNPRINTF

#define HAVE_VSNPRINTF   1

Definition at line 38 of file config-msvc.h.

◆ HAVE_WINDOWS_H

#define HAVE_WINDOWS_H   1

Definition at line 39 of file config-msvc.h.

◆ HAVE_WINSOCK2_H

#define HAVE_WINSOCK2_H   1

Definition at line 40 of file config-msvc.h.

◆ HAVE_WS2TCPIP_H

#define HAVE_WS2TCPIP_H   1

Definition at line 41 of file config-msvc.h.

◆ in_addr_t

#define in_addr_t   uint32_t

◆ inline

#define inline   __inline

Definition at line 84 of file config-msvc.h.

◆ NEED_COMPAT_LZ4

#define NEED_COMPAT_LZ4   1

Definition at line 15 of file config-msvc.h.

◆ PATH_SEPARATOR

#define PATH_SEPARATOR   '\\'

Definition at line 80 of file config-msvc.h.

◆ PATH_SEPARATOR_STR

#define PATH_SEPARATOR_STR   "\\"

Definition at line 81 of file config-msvc.h.

Referenced by check_file_access_chroot().

◆ R_OK

#define R_OK   4

Definition at line 109 of file config-msvc.h.

Referenced by options_postprocess_filechecks().

◆ S_IRUSR

#define S_IRUSR   0

◆ S_IWUSR

#define S_IWUSR   0

◆ SIGHUP

#define SIGHUP   1

◆ SIGINT

#define SIGINT   2

◆ SIGTERM

#define SIGTERM   15

◆ SIGUSR1

#define SIGUSR1   10

◆ SIGUSR2

#define SIGUSR2   12

◆ snprintf

#define snprintf   _snprintf

◆ ssize_t

#define ssize_t   SSIZE_T

◆ strcasecmp

#define strcasecmp   _stricmp

Definition at line 94 of file config-msvc.h.

Referenced by add_proxy_headers(), cm_get_output(), DigestCalcHA1(), and DigestCalcResponse().

◆ strncasecmp

#define strncasecmp   strnicmp

Definition at line 93 of file config-msvc.h.

Referenced by add_proxy_headers(), name_value_match(), and session_user_set().

◆ strtoull

#define strtoull   strtoul

Definition at line 101 of file config-msvc.h.

◆ TARGET_ALIAS

#define TARGET_ALIAS   "Windows-MSVC"

Definition at line 89 of file config-msvc.h.

◆ TARGET_WIN32

#define TARGET_WIN32   1

Definition at line 88 of file config-msvc.h.

◆ W_OK

#define W_OK   2

Definition at line 110 of file config-msvc.h.

Referenced by check_file_access(), and options_postprocess_filechecks().

◆ X_OK

#define X_OK   1

Typedef Documentation

◆ in_port_t

Definition at line 128 of file config-msvc.h.

◆ int16_t

typedef __int16 int16_t

Definition at line 126 of file config-msvc.h.

◆ int32_t

typedef __int32 int32_t

Definition at line 125 of file config-msvc.h.

◆ int64_t

typedef __int64 int64_t

Definition at line 124 of file config-msvc.h.

◆ int8_t

typedef __int8 int8_t

Definition at line 127 of file config-msvc.h.

◆ uint16_t

typedef unsigned __int16 uint16_t

Definition at line 122 of file config-msvc.h.

◆ uint32_t

typedef unsigned __int32 uint32_t

Definition at line 121 of file config-msvc.h.

◆ uint64_t

typedef unsigned __int64 uint64_t

Definition at line 120 of file config-msvc.h.

◆ uint8_t

typedef unsigned __int8 uint8_t

Definition at line 123 of file config-msvc.h.