AW: [IRCServices Coding] Timeouts

Georges Berscheid georges at berscheid.lu
Thu Jan 23 01:17:45 PST 2003


Well, taking the example of colliding nicks.
If a user identifies within 1 minute, you need to remove the timeout
before it occurs, which makes it necessary to find it in the list :)

Georges

-----Ursprüngliche Nachricht-----
Von: ircservices-coding-admin at ircservices.za.net
[mailto:ircservices-coding-admin at ircservices.za.net] Im Auftrag von
Andrew Church
Gesendet: Donnerstag, 23. Januar 2003 10:10
An: ircservices-coding at ircservices.za.net
Betreff: Re: [IRCServices Coding] Timeouts


>while talking about writing new modules, what was the exact reason for
>not allowing coders to loop through the list of timeouts (since *prev
>and *next are private to the timeout.c functions) ?

     You shouldn't need to loop through them; the routine called when
the
timeout occurs and the arbitrary data passed to it are all you should
need
to know.  If you need anything else then you need to use a better
design.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/
------------------------------------------------------------------
To unsubscribe or change your subscription options, visit:
http://www.ircservices.za.net/mailman/listinfo/ircservices-coding