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

2012-08-01 Thread Alon Bar-Lev
On Wed, Aug 1, 2012 at 3:48 PM, Heiko Hund wrote: > On Wednesday 01 August 2012 15:27:01 Alon Bar-Lev wrote: >> How will it work on Windows? > > Good question. Can't it work on Windows? According to objdump openvpn.exe > exports all the symbols statically on Windows. Is that a limitation of the PE

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

2012-08-01 Thread Heiko Hund
On Wednesday 01 August 2012 15:27:01 Alon Bar-Lev wrote: > How will it work on Windows? Good question. Can't it work on Windows? According to objdump openvpn.exe exports all the symbols statically on Windows. Is that a limitation of the PE format? If not, the alternative would be to pass the fu

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

2012-08-01 Thread Alon Bar-Lev
How will it work on Windows? Plugins should not require to be linked against anything. On Wed, Aug 1, 2012 at 2:57 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-off-by: Heiko Hund > --- > in

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

2012-08-01 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 --- include/openvpn-plugin.h | 23 + src/openvpn/plugin.c | 51 ++ 2 files changed,