Ok, thanks.<br>That was it.<br>
<br><br><div class="gmail_quote">On Thu, Jul 1, 2010 at 06:28, ZioPRoTo (Saverio Proto) <span dir="ltr"><<a href="mailto:zioproto@gmail.com">zioproto@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">> How can I register my timeout function into olsrd-0.6 to execute some<br>
> operations?<br>
> For example, if the name of my function is "my_timeout", how can I register<br>
> this function to olsrd know when call my_timeout function?<br>
<br>
</div></div>I hope I understand your question.<br>
<br>
you can use the olsr_start_time function to register a function to a<br>
timer. Everytime the timer expires your function will be called.<br>
<br>
See an example here:<br>
<a href="http://olsr.org/git/?p=olsrd.git;a=blob;f=lib/obamp/src/obamp.c;h=286df98c05cee6fe186c988747dff063343e35c5;hb=master#l1828" target="_blank">http://olsr.org/git/?p=olsrd.git;a=blob;f=lib/obamp/src/obamp.c;h=286df98c05cee6fe186c988747dff063343e35c5;hb=master#l1828</a><br>
<font color="#888888"><br>
Saverio<br>
</font></blockquote></div><br>