]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Move is_proto function to the socket.h header
authorArne Schwabe <arne@rfc2549.org>
Thu, 1 Apr 2021 13:13:32 +0000 (15:13 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 1 Apr 2021 13:57:40 +0000 (15:57 +0200)
commit72e1ecb5b5d282c591cc32bbd378efbebfb03918
tree9e77312215d3f4aff41a930a63647817ff0a877a
parent9eb285f42f73bcfb270adbae527947951615df7d
Move is_proto function to the socket.h header

These functions are small enough to be inlined and also avoids
dependency on socket.c from unit_tests using those functions.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210401131337.3684-10-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21950.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/socket.c
src/openvpn/socket.h