[Olsr-dev] libnetlink, linux and olsr
Mon Oct 22 11:01:38 CEST 2012
On 10/19/2012 11:06 AM, Kees-Jan Hermans wrote:
> Ok. Here's the diff. I must verify a few things with you:
> - The way to 'transport' a configuration value to the module is now via
> global variables and 'extern' definitions in the yacc file. Which is
> IMHO, a kludge - ugly C. I couldn't find an example of how to do this
> properly in other lq plugins though.
Yes... you need to add a variable to the global "olsr config" struct.
> - I have assumed that the $(OS) definitions as used in the Makefile
> aren't somehow mutually inclusive. That is, 'android' doesn't also
> trigger 'linux'.
OS=Android implies __linux__ of course.
But the OS variable itself can only contain a single value.
> - I made adjustments to Makefile.inc in what I don't know are the right
> - The configuration names as in the lex file are the result of my
> imagination. I camelcased what I thought would be proper. Feel free to
> - There is still no way to separate out the older libnl libraries (which
> have completely different names). So keep expectations low - I expect
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Fraunhofer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961, Fax +49 228 9435 685
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
More information about the Olsr-dev