]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Move utility function from win32.c to win32-util.c
authorArne Schwabe <arne@rfc2549.org>
Wed, 12 May 2021 13:15:09 +0000 (15:15 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 14 May 2021 13:11:20 +0000 (15:11 +0200)
commit5a571fb0f68ce6961cddfa495af2cedf3ee0e216
tree298660631bfd0110acadcc013a36624758c68b31
parentad2140e0337f99c183e732b61df03ae29bdec766
Move utility function from win32.c to win32-util.c

This done to allow to include parts win32.c when building unit tests
as win32.c itself has too many dependencies and cannot be included in
a small unit test.

Also fix a missing Windows.h include in error.h that otherwise
breaks complation when included from unit tests.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210512131511.1309914-8-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22348.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/Makefile.am
src/openvpn/error.h
src/openvpn/openvpn.vcxproj
src/openvpn/openvpn.vcxproj.filters
src/openvpn/win32-util.c [new file with mode: 0644]
src/openvpn/win32-util.h [new file with mode: 0644]
src/openvpn/win32.c
src/openvpn/win32.h