Skip to content

Provide OpenVPN version information to plug-ins

David Sommerseth openvpn-devel 1 version In review

Get series with b4
b4 am [email protected]...

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Provide compile time OpenVPN version information to plug-ins.gitignore configure.ac include/Makefile.am +2 more+19 -17 replies
2/2Provide OpenVPN runtime version information to plug-insconfigure.ac include/openvpn-plugin.h.in sample/sample-plugins/log/log_v3.c +1 more+37 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Openvpn-devel] [PATCH 0/2] Provide OpenVPN version information to plug-ins

From: David Sommerseth <[email protected]...>

These two patches enables both OpenVPN version information at compile time and run time. This can be used by plug-ins to adjust it's behavoiour and available features based on which OpenVPN plug-in API it is compiled against and run against.

This should further help writing plug-ins which can be used against a broader set of OpenVPN binaries.

David Sommerseth (2):
Provide compile time OpenVPN version information to plug-ins Provide OpenVPN runtime version information to plug-ins

 .gitignore                                        |  1 +
 configure.ac                                      |  7 +++++++
 include/Makefile.am                               |  1 +
 include/{openvpn-plugin.h => openvpn-plugin.h.in} | 16 +++++++++++++++-
 sample/sample-plugins/log/log_v3.c                |  6 ++++++
 src/openvpn/plugin.c                              | 21 ++++++++++++++++++++-
 version.m4                                        |  7 ++++++-
 7 files changed, 56 insertions(+), 3 deletions(-)
 rename include/{openvpn-plugin.h => openvpn-plugin.h.in} (97%)
Signature · 1 line
1.8.3.1