Hello everybody, I have created an CPP-Module for freeRadius. If somebody wants to know how I did it, I would post an little TODO ( HowTo ). Greetz Patrick
Hi you mean C++? if so, a howto would be awesome. On 03/11/2013 03:49 PM, Patrick Ko wrote:
Hello everybody,
I have created an CPP-Module for freeRadius. If somebody wants to know how I did it, I would post an little TODO ( HowTo ).
Greetz Patrick
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
On 11 Mar 2013, at 09:00, Linux Chips <linux.chips@gmail.com> wrote:
Hi
you mean C++? if so, a howto would be awesome.
Yes I was thinking about how to do this. You could jusv write the module in C++ and then mark the API functions that get exported in the module struct as extern c? Many of the headers already have the boilerplate code to mark the definitions as extern C when included in a C++ source file, so accessing standard library functions should not be an issue. Did you come up with another way? -Arran
On 11 Mar 2013, at 09:25, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 11 Mar 2013, at 09:00, Linux Chips <linux.chips@gmail.com> wrote:
Hi
you mean C++? if so, a howto would be awesome.
Yes I was thinking about how to do this. You could jusv write the module in C++ and then mark the API functions that get exported in the module struct as extern c?
Wait, that's not even required as the callback signatures are already C? -Arran
Hello Linux Chips! Yes I mean "C++" ! Okay so I would post and TODO ( HowTo ) during the day! Greetz Patrick
participants (3)
-
Arran Cudbard-Bell -
Linux Chips -
Patrick Ko