[Olsr-dev] olsrd v2 and inotify

Henning Rogge (spam-protected)
Tue May 8 15:30:20 CEST 2012

On 05/08/2012 03:26 PM, Ferry Huberts wrote:
>> The current framework code contains a function called
>> "olsr_cfg_trigger_reload()", which commands the mainloop to reload the
>> configuration settings defined by the command line.
>> Should be easy to write a plugin that triggers the command when a
>> certain file is changed.
> Yeah I know, but I meant that if the core integrates this, then things
> become _much_ easier; things become much more event driven, and at the
> same time we can avoid threading issues!

I think compiling an OLSRd that includes the plugin into the main 
executable will be a better idea. This way we keep the linux-specific 
functions out of the core code.

The result will be the same, just less os-specific things in the core.

Henning Rogge

Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6156 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120508/9f807f83/attachment.bin>

More information about the Olsr-dev mailing list