Re: [Openvpn-devel] [PATCH 2/2 v2.2] add plugin_log() API to write to openvpn log

2012-08-02 Thread Alon Bar-Lev
And export vprintf variant as well, to allow wrapper. On Thu, Aug 2, 2012 at 1:02 PM, Alon Bar-Lev wrote: > This is how it should be done, no games with symbols and linkage. > > Please add printf style pragmas to the function. > > On Thu, Aug 2, 2012 at 12:53 PM, Heiko Hund wrote: >> Some plugin

Re: [Openvpn-devel] [PATCH 2/2 v2.2] add plugin_log() API to write to openvpn log

2012-08-02 Thread Alon Bar-Lev
This is how it should be done, no games with symbols and linkage. Please add printf style pragmas to the function. On Thu, Aug 2, 2012 at 12:53 PM, Heiko Hund wrote: > Some plugins want to add messages to the openvpn log file. The > plugin_log() API provides a way for them to do so. > > Signed-o

[Openvpn-devel] [PATCH 2/2 v2.2] add plugin_log() API to write to openvpn log

2012-08-02 Thread Heiko Hund
Some plugins want to add messages to the openvpn log file. The plugin_log() API provides a way for them to do so. Signed-off-by: Heiko Hund --- This is the second variant of PATCH 2/2 that deals with the fact that the original plugin_log() approach was not working on Windows. It passes the func