Hi,
On Mon, May 8, 2017 at 10:19 AM, David Sommerseth <dav...@openvpn.net>
wrote:
> *
> * 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_PL
> UGIN_CLIENT_CONNECT)
> + * type_mask = OPENVPN_PLUGIN_MASK(OPENVPN_PL
> UGIN_CLIENT_CONNECT)
> * | OPENVPN_PLUGIN_MASK(OPENVPN_PL
> UGIN_CLIENT_DISCONNECT)
> *
> * *handle : Pointer to a global plug-in context, created by the
> plug-in. This pointer
>
Asking to set *handle to context_ptr is wrong too. One can't dereference
handle. So it will have to be interpreted as set handle to pointer to
pointer to the context but that is wrong.
But as discussed in the other thread I think we should also change the
definition of handle in this struct.
Reference to *handle in line 390 needs correction too (comment only --
struct is fine).
Thanks,
Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel