[Olsr-dev] plugin initialisation
Henning Rogge
(spam-protected)
Thu Dec 9 08:07:50 CET 2010
On Wed December 8 2010 22:09:23 Ferry Huberts wrote:
> I think this is rather odd since setters for configuration parameters
> are allowed to fail and will stop olsrd when they do.
> IMHO the plugin initialisation is 'the same thing': init phase.
> So allowing one part of this to stop olsrd but not the second part seems
> strange.
> The good reaction would be to stop olsrd, just like in part one.
> Also, why then is the plugin init function defined to return an int when
> this int is then ignored? :-)
>
> I would definitely vote to not ignore it (obviously)
I would not like to change this in the stable branch and there is already a
better plugin interface in the master branch.
If you want you can give me your opinion on the new system, it's not set in
stone and could be improved before a future 0.7.0 release.
For an example see the new txtinfo, is has already be converted to the new
system.
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: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20101209/a5bf3445/attachment.sig>
More information about the Olsr-dev
mailing list