[Olsr-dev] Request Tutorial on Plugin Interface 5
Sven-Ola Tuecke
(spam-protected)
Thu Feb 14 16:37:54 CET 2008
Hi Tony,
the plugins are shared libaries loaded during runtime using the appropriate
ldso functions. The *.so imports and exports functions / data references to
be resolved by the dynamic linker. You may RTFM this:
http://tldp.org/HOWTO/Program-Library-HOWTO/index.html
HTH,
// Sven-Ola
""Tony Lam"" <(spam-protected)> schrieb im Newsbeitrag
news:(spam-protected)
Bernd,
Thx for the brieft description about the olsr_plugin.c in txtinfo,
I still got one more question.
I still cannot figure out how the plugin connect the other files(such as,
olsr_txtinfo.h and olsr_txtinfo.c).
Is that simply add the following line:
#include <olsr_txtinfo.h>
in the olsr_plugin.c??
And as I know, there has no "main()" for plugin program.
So where is the entry point to those plugin??
How come olsrd know which function to use in olsr_txtinfo.c???? =[
I understand olsr_plugin.c will be read by olsr and refer to it's my_init(),
however I don't know how olsrd know which function to use in olsr_txtinfo.c~
p.s.
>*eg* Yes, actually we are looking for someone who is reworking that
page.
I am looking forward to see this page,
as I really need more information about implementing a plugin.
Cheers,
Tony
--
Olsr-dev mailing list
(spam-protected)
http://lists.olsr.org/mailman/listinfo/olsr-dev
More information about the Olsr-dev
mailing list