OpenVPN
mock_win32_execve.c
Go to the documentation of this file.
1 /*
2  * OpenVPN -- An application to securely tunnel IP networks
3  * over a single TCP/UDP port, with support for SSL/TLS-based
4  * session authentication and key exchange,
5  * packet encryption, packet authentication, and
6  * packet compression.
7  *
8  * Copyright (C) 2023 OpenVPN Inc <sales@openvpn.net>
9  * Copyright (C) 2023 Arne Schwabe <arne@rfc2549.org>
10  *
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License version 2
14  * as published by the Free Software Foundation.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License along
22  * with this program; if not, write to the Free Software Foundation, Inc.,
23  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24  */
25 
26 #include "config.h"
27 #include "syshead.h"
28 
29 #include "win32.h"
30 
31 #ifdef _WIN32
32 int
33 openvpn_execve(const struct argv *a, const struct env_set *es, const unsigned int flags)
34 {
35  ASSERT(0);
36 }
37 #endif
win32.h
argv
Definition: argv.h:35
es
struct env_set * es
Definition: test_pkcs11.c:133
ASSERT
#define ASSERT(x)
Definition: error.h:201
openvpn_execve
int openvpn_execve(const struct argv *a, const struct env_set *es, const unsigned int flags)
Definition: mock_win32_execve.c:33
syshead.h
env_set
Definition: env_set.h:42
config.h