<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi Andreas,<br><br>Thanks for info.<br>I used your HOWTO as a reference to make a plugin.<br><br>Now I need to know that :<br>1. How can I upgrade the plugin?<br>2. Do you have new plugin HOWTO that I can use.<br><br>Thanks.<br><br>Siamak <br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Andreas Tønnesen <andreto@olsr.org><br>To: OLSR discussion and development <olsr-users@olsr.org><br>Sent: Saturday, April 7, 2007 9:25:47 AM<br>Subject: Re: [OLSR-users] PLUGIN LOADING FAILED!<br><br><div><br>You are using the initial v1 interface. The current version is 4 and<br>there has been some major changes. There is no longer a need
for<br>fetching function pointers trough the "fetch function"(whatever<br>it was called back then).<br>Now you can call all olsrd functions directly from your plugin.<br><br>To declare that your interface is version 4 you must make a function:<br>int olsrd_plugin_interface_version(void)<br>available. This function must return 4.<br>However, changing the version alone will not be enough, you need<br>to update your plugin to use the new interface(as explained above).<br><br>And yes, the plugin HOWTO is OBSOLETE.<br><br>- Andreas<br><br>Siamak Eskandari wrote:<br>> Hi,<br>><br>> I am trying to load my private plugin, but I receive this error <br>> message after start of olsrd:<br>><br>> Loading plugins...<br>><br>> ---------- Plugin loader ----------<br>> Library: olsrd_myplugin.so.0.1<br>> OLSRD myplugin plugin 0.1 by Siamak<br>> Checking plugin interface version... trying v2 detection... trying v1 <br>> detection... 1 -
OK<br>><br>> WARNING: YOU ARE USING AN OLD DEPRECATED PLUGIN INTERFACE! DETECTED <br>> VERSION 1 CURRENT VERSION 4<br>> PLEASE UPGRADE YOUR PLUGIN!<br>> WILL CONTINUE IN 5 SECONDS...<br>><br>> -- PLUGIN LOADING FAILED! --<br>><br>> Main address: 192.168.0.142<br>><br>> Scheduler started - polling every 0.05 seconds<br>> |<br>><br>> How can I upgrade my plugin to a new version?<br>><br>> Thanks<br>><br>> Siamak<br>><br>><br>> ------------------------------------------------------------------------<br>> Don't get soaked. Take a quick peek at the forecast <br>> <<a target="_blank" href="http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news">http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news</a>><br>> with theYahoo! Search weather shortcut. <br>> <<a target="_blank"
href="http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news">http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news</a>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> olsr-users mailing list<br>> olsr-users@olsr.org<br>> <a target="_blank" href="https://www.olsr.org/mailman/listinfo/olsr-users">https://www.olsr.org/mailman/listinfo/olsr-users</a><br>> <br><br><br>_______________________________________________<br>olsr-users mailing list<br>olsr-users@olsr.org<br><a target="_blank" href="https://www.olsr.org/mailman/listinfo/olsr-users">https://www.olsr.org/mailman/listinfo/olsr-users</a><br></div></div><br></div></div><br>
<hr size=1>Finding fabulous fares is fun.<br><a href="http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--
">Let Yahoo! FareChase search your favorite travel sites</a> to find flight and hotel bargains.</body></html>