diff options
author | David Sommerseth | 2017-05-08 16:19:39 +0200 |
---|---|---|
committer | David Sommerseth | 2017-05-09 12:16:15 +0200 |
commit | 26e3427cfa128c5d8ac7e212769ba29afac4f3d9 (patch) | |
tree | dfb16411963160d6dfc1828c880589cddd517edc /include | |
parent | 423bb16e8a8fe22a907f469074a25533208fa0bc (diff) | |
download | openvpn-26e3427cfa128c5d8ac7e212769ba29afac4f3d9.zip openvpn-26e3427cfa128c5d8ac7e212769ba29afac4f3d9.tar.gz |
plugin: Fix documentation typo for type_mask
The v3 plug-in API was slightly misleading, as that interface does not
need to use an int pointer to setting the type_mask from the plug-in.
Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <20170508141939.31224-1-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14576.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/openvpn-plugin.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openvpn-plugin.h.in b/include/openvpn-plugin.h.in index 0b30352..d43a29a 100644 --- a/include/openvpn-plugin.h.in +++ b/include/openvpn-plugin.h.in @@ -328,12 +328,12 @@ struct openvpn_plugin_args_open_in * * STRUCT MEMBERS * - * *type_mask : The plug-in should set this value to the logical OR of all script + * type_mask : The plug-in should set this value to the logical OR of all script * types which the plug-in wants to intercept. For example, if the * script wants to intercept the client-connect and client-disconnect * script types: * - * *type_mask = OPENVPN_PLUGIN_MASK(OPENVPN_PLUGIN_CLIENT_CONNECT) + * type_mask = OPENVPN_PLUGIN_MASK(OPENVPN_PLUGIN_CLIENT_CONNECT) * | OPENVPN_PLUGIN_MASK(OPENVPN_PLUGIN_CLIENT_DISCONNECT) * * *handle : Pointer to a global plug-in context, created by the plug-in. This pointer |