OpenVPN
config-msvc.h
Go to the documentation of this file.
1 #include <config-msvc-version.h>
2 
3 #define CONFIGURE_DEFINES "N/A"
4 
5 #define ENABLE_PF 1
6 #define ENABLE_CRYPTO_OPENSSL 1
7 #define ENABLE_DEBUG 1
8 #define ENABLE_EUREPHIA 1
9 #define ENABLE_FRAGMENT 1
10 #define ENABLE_HTTP_PROXY 1
11 #define ENABLE_LZO 1
12 #define ENABLE_LZ4 1
13 #define NEED_COMPAT_LZ4 1
14 #define ENABLE_MANAGEMENT 1
15 #define ENABLE_MULTIHOME 1
16 #define ENABLE_PKCS11 1
17 #define ENABLE_PLUGIN 1
18 #define ENABLE_PORT_SHARE 1
19 #define ENABLE_SOCKS 1
20 
21 #define HAVE_ERRNO_H 1
22 #define HAVE_FCNTL_H 1
23 #define HAVE_CTYPE_H 1
24 #define HAVE_STDARG_H 1
25 #define HAVE_STDIO_H 1
26 #define HAVE_STDLIB_H 1
27 #define HAVE_STRDUP 1
28 #define HAVE_STRERROR 1
29 #define HAVE_STRINGS_H 1
30 #define HAVE_STRING_H 1
31 #define HAVE_LIMITS_H 1
32 #define HAVE_SYSTEM 1
33 #define HAVE_TIME 1
34 #define HAVE_TIME_H 1
35 #define HAVE_UNLINK 1
36 #define HAVE_VSNPRINTF 1
37 #define HAVE_WINDOWS_H 1
38 #define HAVE_WINSOCK2_H 1
39 #define HAVE_WS2TCPIP_H 1
40 #define HAVE_IO_H 1
41 #define HAVE_DIRECT_H 1
42 #define HAVE_SYS_TYPES_H 1
43 #define HAVE_SYS_STAT_H 1
44 #define HAVE_LZO_LZO1X_H 1
45 #define HAVE_LZO_LZOUTIL_H 1
46 #define HAVE_VERSIONHELPERS_H 1
47 
48 #define HAVE_ACCESS 1
49 #define HAVE_CHDIR 1
50 #define HAVE_CHSIZE 1
51 #define HAVE_CPP_VARARG_MACRO_ISO 1
52 #define HAVE_CTIME 1
53 #define HAVE_EVP_CIPHER_CTX_SET_KEY_LENGTH 1
54 #define HAVE_IN_PKTINFO 1
55 #define HAVE_MEMSET 1
56 #define HAVE_PUTENV 1
57 #define HAVE_STAT 1
58 
59 #define HAVE_SOCKET 1
60 #define HAVE_RECV 1
61 #define HAVE_RECVFROM 1
62 #define HAVE_SEND 1
63 #define HAVE_SENDTO 1
64 #define HAVE_LISTEN 1
65 #define HAVE_ACCEPT 1
66 #define HAVE_CONNECT 1
67 #define HAVE_BIND 1
68 #define HAVE_SELECT 1
69 #define HAVE_GETHOSTBYNAME 1
70 #define HAVE_INET_NTOA 1
71 #define HAVE_SETSOCKOPT 1
72 #define HAVE_GETSOCKOPT 1
73 #define HAVE_GETSOCKNAME 1
74 #define HAVE_POLL 1
75 
76 #define HAVE_OPENSSL_ENGINE 1
77 /* hardcode usage of OpenSSL 1.1.x */
78 #define HAVE_EVP_MD_CTX_RESET 1
79 #define HAVE_EVP_MD_CTX_FREE 1
80 #define HAVE_EVP_MD_CTX_NEW 1
81 #define HAVE_HMAC_CTX_RESET 1
82 #define HAVE_HMAC_CTX_FREE 1
83 #define HAVE_HMAC_CTX_NEW 1
84 #define HAVE_SSL_CTX_GET_DEFAULT_PASSWD_CB_USERDATA 1
85 #define HAVE_SSL_CTX_GET_DEFAULT_PASSWD_CB 1
86 #define HAVE_X509_GET0_PUBKEY 1
87 #define HAVE_X509_STORE_GET0_OBJECTS 1
88 #define HAVE_X509_OBJECT_FREE 1
89 #define HAVE_X509_OBJECT_GET_TYPE 1
90 #define HAVE_EVP_PKEY_GET0_RSA 1
91 #define HAVE_EVP_PKEY_GET0_EC_KEY 1
92 #define HAVE_EVP_PKEY_ID 1
93 #define HAVE_EVP_PKEY_GET0_DSA 1
94 #define HAVE_RSA_SET_FLAGS 1
95 #define HAVE_RSA_GET0_KEY 1
96 #define HAVE_RSA_SET0_KEY 1
97 #define HAVE_RSA_BITS 1
98 #define HAVE_DSA_GET0_PQG 1
99 #define HAVE_DSA_BITS 1
100 #define HAVE_RSA_METH_NEW 1
101 #define HAVE_RSA_METH_FREE 1
102 #define HAVE_RSA_METH_SET_PUB_ENC 1
103 #define HAVE_RSA_METH_SET_PUB_DEC 1
104 #define HAVE_RSA_METH_SET_PRIV_ENC 1
105 #define HAVE_RSA_METH_SET_PRIV_DEC 1
106 #define HAVE_RSA_METH_SET_INIT 1
107 #define HAVE_RSA_METH_SET_SIGN 1
108 #define HAVE_RSA_METH_SET_FINISH 1
109 #define HAVE_RSA_METH_SET0_APP_DATA 1
110 #define HAVE_RSA_METH_GET0_APP_DATA 1
111 #define HAVE_EC_GROUP_ORDER_BITS 1
112 #define OPENSSL_NO_EC 1
113 #define HAVE_EVP_CIPHER_CTX_RESET 1
114 #define HAVE_DIINSTALLDEVICE 1
115 
116 #define PATH_SEPARATOR '\\'
117 #define PATH_SEPARATOR_STR "\\"
118 
119 #ifndef __cplusplus
120 #define inline __inline
121 #endif
122 
123 #define EMPTY_ARRAY_SIZE 0
124 #define TARGET_WIN32 1
125 #define TARGET_ALIAS "Windows-MSVC"
126 
127 #define HAVE_DECL_SO_MARK 0
128 
129 #define strncasecmp strnicmp
130 #define strcasecmp _stricmp
131 
132 #if _MSC_VER<1900
133 #define snprintf _snprintf
134 #endif
135 
136 #if _MSC_VER < 1800
137 #define strtoull strtoul
138 #endif
139 
140 #define in_addr_t uint32_t
141 #define ssize_t SSIZE_T
142 
143 #define S_IRUSR 0
144 #define S_IWUSR 0
145 #define R_OK 4
146 #define W_OK 2
147 #define X_OK 1
148 #define F_OK 0
149 
150 #define SIGHUP 1
151 #define SIGINT 2
152 #define SIGUSR1 10
153 #define SIGUSR2 12
154 #define SIGTERM 15
155 
156 typedef unsigned __int64 uint64_t;
157 typedef unsigned __int32 uint32_t;
158 typedef unsigned __int16 uint16_t;
159 typedef unsigned __int8 uint8_t;
160 typedef __int64 int64_t;
161 typedef __int32 int32_t;
162 typedef __int16 int16_t;
163 typedef __int8 int8_t;
165 
166 #ifdef HAVE_CONFIG_MSVC_LOCAL_H
167 #include <config-msvc-local.h>
168 #endif
169 
170 /* Vista and above has implementation of inet_ntop / inet_pton */
171 #if _WIN32_WINNT >= _WIN32_WINNT_VISTA
172  #define HAVE_INET_NTOP
173  #define HAVE_INET_PTON
174 #endif
unsigned __int32 uint32_t
Definition: config-msvc.h:157
unsigned __int64 uint64_t
Definition: config-msvc.h:156
uint16_t in_port_t
Definition: config-msvc.h:164
__int64 int64_t
Definition: config-msvc.h:160
unsigned __int8 uint8_t
Definition: config-msvc.h:159
__int8 int8_t
Definition: config-msvc.h:163
__int32 int32_t
Definition: config-msvc.h:161
unsigned __int16 uint16_t
Definition: config-msvc.h:158
__int16 int16_t
Definition: config-msvc.h:162