Cassandra backends for Freeradius
alister at ticklers.org
Thu Jul 2 22:20:41 CEST 2015
>From memory you can get away with compiling the 'main' as C++ and use C++
for the final linking phase.. That assumes you ensure the bits that link to
"C" compiled code have the extern "C" stuff in the right place to ensure
you don't get any C++ name mangling issues.
On Tue, Jun 9, 2015 at 5:50 PM, Arran Cudbard-Bell <
a.cudbardb at freeradius.org> wrote:
> > On Jun 9, 2015, at 3:40 AM, ICHIBA Sara <ichi.sara at gmail.com> wrote:
> > Hey there,
> > I just started a project where I need to configure cassandra backends for
> > freeradius. As i'm a newbie to both cassandra and freeradius I don't know
> > much how to proceed. I found on github this repository
> > <
> > which contains the schema for cassandra db, the sql conf and
> > rlm_sql_cassandra module. Unfortunately, there is no documentation
> > so newbies like me would know what to do. As this mailing list is for
> > developers I was hoping I could find someone here who could offer me some
> > guidance, documentation or anything that might help me in my internship
> > project.
> I pinged the author a message on GitHub, we'll see if we can pull it in
> (he needs
> to add a GPLv2 license header to the code).
> The code's not bad. Just needs some formatting changes. He actually did a
> good job of using the internal APIs, so not a huge amount of work.
> Once it's in, you just use it like any other SQL driver. I have a feeling
> we'll need to fix C++ compilation for the entire server before everything
> as expected, as everything will need to be compiled as C++.
> I looked at this a few years ago, but never found any really good
> references on
> linking to C++ libraries from C, or how it works. C++ has a runtime, C
> Alan says you may just be able to use a C++ compiler to build the C code
> List info/subscribe/unsubscribe? See
More information about the Freeradius-Devel