[IRCServices Coding] Timer Callbacks

Andrew Church achurch at achurch.org
Wed Sep 11 10:12:22 PDT 2002


>while implementing some small modules for my network, I saw that there is no
>possibility to add timed callbacks. There are some explicit timed events
>such as "save data" or "expire", but you can't make services call a
>function, let's say, every hour.

     Yes, you can; see timeout.h.  For an example, see the handling of
SVSTIME in modules/protocol/unreal.c in 5.0 beta.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/