Re: D-Bus service activation and access control

David Sommerseth <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
On 01/08/17 08:02, Thiago Macieira wrote:
> On segunda-feira, 31 de julho de 2017 18:20:53 PDT Lawrence D'Oliveiro wrote:
>> On Tue, 1 Aug 2017 00:00:59 +0200, David Sommerseth wrote:
>>> Since OpenVPN 3 is also written as a C++ library, it makes it easier
>>> to extend it in many areas without adding much additional core code.
>>
>> When you write a library, consider that other languages will want to
>> create their own bindings for it. This is easier with a C library than
>> C++.
>>
>> By all means put a C++ layer on top of a C core. Then those other
>> languages can bypass that C++ layer and build on the C core, taking
>> advantage of their own language-specific cleverness, without having to
>> hack their way through the thicket of C++ cleverness.
> 
> You can also do the opposite: create a C API for your library that is 
> implemented in C++.
> 
> The important thing is providing an official C API.

OpenVPN 3 is GPLv3, source code available on github.  So if you or
anyone else want to have a stab at providing a C API, feel free to
contribute!  The first task to complete is to actually have a functional
OpenVPN 3 client for Linux.


-- 
kind regards,

David Sommerseth
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.