[Olsr-dev] Timeout Function

Airton Ishimori (spam-protected)
Thu Jul 1 14:15:14 CEST 2010


Ok, thanks.
That was it.


On Thu, Jul 1, 2010 at 06:28, ZioPRoTo (Saverio Proto)
<(spam-protected)>wrote:

> > How can I register my timeout function into olsrd-0.6 to execute some
> > operations?
> > For example, if the name of my function is "my_timeout", how can I
> register
> > this function to olsrd know when call my_timeout function?
>
> I hope I understand your question.
>
> you can use the olsr_start_time function to register a function to a
> timer. Everytime the timer expires your function will be called.
>
> See an example here:
>
> http://olsr.org/git/?p=olsrd.git;a=blob;f=lib/obamp/src/obamp.c;h=286df98c05cee6fe186c988747dff063343e35c5;hb=master#l1828
>
> Saverio
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100701/f7c3cbbf/attachment.html>


More information about the Olsr-dev mailing list