]> git.ipfire.org Git - thirdparty/openvpn.git/commit
More explicit versioning compatibility in sample-plugins/defer/simple.c
authorGreg Cox <gcox@mozilla.com>
Wed, 27 Jan 2021 20:21:49 +0000 (20:21 +0000)
committerGert Doering <gert@greenie.muc.de>
Sat, 30 Jan 2021 09:45:41 +0000 (10:45 +0100)
commitae5ca3ebf1cccae2f2d11a2ed6219c40be9cc4ea
tree31006c89e91a2424edf6164c2e0c3c38d6477028
parent11aa1288ffc95877cd5686e19137b9abd6c374bb
More explicit versioning compatibility in sample-plugins/defer/simple.c

While not required, adding openvpn_plugin_min_version_required_v1 helps
by making an example for others to copy, and helps to explicitly call
attention to the difference between the API version number and the
struct version number in v3 calls.
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: <1611778909-20630-2-git-send-email-gcox@mozilla.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21508.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit a385a3e8a28f2ce96c7ee0be8940b257765add5a)
sample/sample-plugins/defer/simple.c