Re: [Openvpn-devel] [PATCH 2/2 v3] add API for plug-ins to write to openvpn log

2012-08-02 Thread Alon Bar-Lev
What about the printf style pragma? It is very convenience to find format issue at compile times. On Thu, Aug 2, 2012 at 4:03 PM, Heiko Hund wrote: > Some plugins want to add messages to the openvpn log file. The > plugin_log() and plugin_vlog() APIs provide ways for them to do so. > > Signed-off

[Openvpn-devel] [PATCH 2/2 v3] add API for plug-ins 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() and plugin_vlog() APIs provide ways for them to do so. Signed-off-by: Heiko Hund --- Changes since PATCH 2/2 v2.2: * add plugin_vlog() API which takes a va_list * pass struct openvpn_plugin_callbacks to open_v3 plug