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_FRAGMENT 1
9 #define ENABLE_HTTP_PROXY 1
10 #define ENABLE_LZO 1
11 #define ENABLE_LZ4 1
12 #define ENABLE_MANAGEMENT 1
13 #define ENABLE_PKCS11 1
14 #define ENABLE_PLUGIN 1
15 #define ENABLE_PORT_SHARE 1
16 #define ENABLE_SOCKS 1
17 
18 #define HAVE_FCNTL_H 1
19 #define HAVE_STDIO_H 1
20 #define HAVE_STDLIB_H 1
21 #define HAVE_STRERROR 1
22 #define HAVE_STRINGS_H 1
23 #define HAVE_STRING_H 1
24 #define HAVE_LIMITS_H 1
25 #define HAVE_SYSTEM 1
26 #define HAVE_TIME 1
27 #define HAVE_TIME_H 1
28 #define HAVE_WINDOWS_H 1
29 #define HAVE_WINSOCK2_H 1
30 #define HAVE_WS2TCPIP_H 1
31 #define HAVE_IO_H 1
32 #define HAVE_SYS_TYPES_H 1
33 #define HAVE_SYS_STAT_H 1
34 #define HAVE_LZO_LZO1X_H 1
35 #define HAVE_LZO_LZOUTIL_H 1
36 #define HAVE_VERSIONHELPERS_H 1
37 
38 #define HAVE_ACCESS 1
39 #define HAVE_CHDIR 1
40 #define HAVE_CHSIZE 1
41 #define HAVE_IN_PKTINFO 1
42 
43 #define HAVE_OPENSSL_ENGINE 1
44 /* hardcode usage of OpenSSL 1.1.x */
45 #define HAVE_EVP_MD_CTX_RESET 1
46 #define HAVE_EVP_MD_CTX_FREE 1
47 #define HAVE_EVP_MD_CTX_NEW 1
48 #define HAVE_HMAC_CTX_RESET 1
49 #define HAVE_HMAC_CTX_FREE 1
50 #define HAVE_HMAC_CTX_NEW 1
51 #define HAVE_SSL_CTX_GET_DEFAULT_PASSWD_CB_USERDATA 1
52 #define HAVE_SSL_CTX_GET_DEFAULT_PASSWD_CB 1
53 #define HAVE_X509_GET0_PUBKEY 1
54 #define HAVE_X509_STORE_GET0_OBJECTS 1
55 #define HAVE_X509_OBJECT_FREE 1
56 #define HAVE_X509_OBJECT_GET_TYPE 1
57 #define HAVE_EVP_PKEY_GET0_RSA 1
58 #define HAVE_EVP_PKEY_GET0_EC_KEY 1
59 #define HAVE_EVP_PKEY_ID 1
60 #define HAVE_EVP_PKEY_GET0_DSA 1
61 #define HAVE_RSA_SET_FLAGS 1
62 #define HAVE_RSA_GET0_KEY 1
63 #define HAVE_RSA_SET0_KEY 1
64 #define HAVE_RSA_BITS 1
65 #define HAVE_DSA_GET0_PQG 1
66 #define HAVE_DSA_BITS 1
67 #define HAVE_RSA_METH_NEW 1
68 #define HAVE_RSA_METH_FREE 1
69 #define HAVE_RSA_METH_SET_PUB_ENC 1
70 #define HAVE_RSA_METH_SET_PUB_DEC 1
71 #define HAVE_RSA_METH_SET_PRIV_ENC 1
72 #define HAVE_RSA_METH_SET_PRIV_DEC 1
73 #define HAVE_RSA_METH_SET_INIT 1
74 #define HAVE_RSA_METH_SET_SIGN 1
75 #define HAVE_RSA_METH_SET_FINISH 1
76 #define HAVE_RSA_METH_SET0_APP_DATA 1
77 #define HAVE_RSA_METH_GET0_APP_DATA 1
78 #define HAVE_EC_GROUP_ORDER_BITS 1
79 #define OPENSSL_NO_EC 1
80 #define HAVE_EVP_CIPHER_CTX_RESET 1
81 #define HAVE_DIINSTALLDEVICE 1
82 
83 #ifndef __cplusplus
84 #define inline __inline
85 #endif
86 
87 #define TARGET_WIN32 1
88 #define TARGET_ALIAS "Windows-MSVC"
89 
90 #define HAVE_DECL_SO_MARK 0
91 
92 #define strncasecmp strnicmp
93 #define strcasecmp _stricmp
94 
95 #if _MSC_VER<1900
96 #define snprintf _snprintf
97 #endif
98 
99 #if _MSC_VER < 1800
100 #define strtoull strtoul
101 #endif
102 
103 #define in_addr_t uint32_t
104 #define ssize_t SSIZE_T
105 
106 #define S_IRUSR 0
107 #define S_IWUSR 0
108 #define R_OK 4
109 #define W_OK 2
110 #define X_OK 1
111 #define F_OK 0
112 
113 #define SIGHUP 1
114 #define SIGINT 2
115 #define SIGUSR1 10
116 #define SIGUSR2 12
117 #define SIGTERM 15
118 
119 #include <inttypes.h>
120 typedef uint16_t in_port_t;
121 
122 #ifdef HAVE_CONFIG_MSVC_LOCAL_H
123 #include <config-msvc-local.h>
124 #endif
uint16_t in_port_t
Definition: config-msvc.h:120