Re: [Openvpn-devel] Modernising the management interface

2016-09-01 Thread debbie10t
On 01/09/16 21:56, David Sommerseth wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/09/16 22:14, debbie10t wrote: >> * If it sounds too good to be true .. then it probably is. > There's a good intro to D-Bus programming here, with focus on C: >

Re: [Openvpn-devel] Modernising the management interface

2016-09-01 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/09/16 22:14, debbie10t wrote: > * If it sounds too good to be true .. then it probably is. There's a good intro to D-Bus programming here, with focus on C: Here's one

[Openvpn-devel] [PATCH v3] Drop gnu89/c89 support, switch to c99

2016-09-01 Thread Steffan Karger
Previously, we would use the compiler's default C version, which defaults to gnu89 for GCC < 5, gnu11 for GCC > 5, and c11 for clang, but might even differ per distro. One of the reasons to accept the gnu89 default of GCC < 4.9, was that MSVC didn't support c99. But in MSVC 2015, MS finanally fix

Re: [Openvpn-devel] Modernising the management interface

2016-09-01 Thread debbie10t
On 01/09/16 20:04, David Sommerseth wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 31/08/16 20:55, David Sommerseth wrote: >> Hi, >> >> I have for a long time pondered on how we can make the management >> API more suitable for more modern tools and tasks. So I am just >> giving

[Openvpn-devel] [PATCH] cleanup: remove code duplication in msg_test()

2016-09-01 Thread Steffan Karger
Use check_debug_level() instead of writing out the exact same check in msg_test(). Signed-off-by: Steffan Karger --- src/openvpn/error.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/openvpn/error.h b/src/openvpn/error.h index 76515d6..ced2fdf 100644 --- a/

Re: [Openvpn-devel] Modernising the management interface

2016-09-01 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/08/16 20:55, David Sommerseth wrote: > > Hi, > > I have for a long time pondered on how we can make the management > API more suitable for more modern tools and tasks. So I am just > giving an extremely early heads-up on on what I'm poking at

Re: [Openvpn-devel] Modernising the management interface

2016-09-01 Thread Jan Just Keijser
On 01/09/16 09:41, Samuli Seppänen wrote: > Il 01/09/2016 07:33, Selva Nair ha scritto: >> >> On Wed, Aug 31, 2016 at 7:19 PM, David Sommerseth >> > > wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 31/08/16 23:25, Selv

Re: [Openvpn-devel] Modernising the management interface

2016-09-01 Thread Samuli Seppänen
Il 01/09/2016 07:33, Selva Nair ha scritto: > > > On Wed, Aug 31, 2016 at 7:19 PM, David Sommerseth > > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 31/08/16 23:25, Selva Nair wrote: > > Hi, > > > > On Wed, Aug