[IRCServices Coding] svcs5 - request

Finny Merrill griever at t2n.org
Sun Jan 6 13:05:14 PST 2002


On Sun, 6 Jan 2002, Ben Goldstein wrote:

Well the thing is, you would need a pointer to a function
that prints it to a file, as we dont know whether it contains
ints, chars, shorts, longs, or whatever.

> This is an excellent idea.  I don't think it would be that big of a deal to
> add this to a final database version in 5.0-release, depending on how far
> off that is..  Keep up the good work, guys.
> 
> -- Ben Goldstein (beng at nc.rr.com)
> 
> ----- Original Message -----
> From: <v13 at priest.com>
> To: <ircservices-coding at ircservices.za.net>
> Sent: Sunday, January 06, 2002 8:52 AM
> Subject: [IRCServices Coding] svcs5 - request
> 
> 
> If you realy want other people to write useful modules, then it should be
> possible for each module to extend the NickServ and ChanServ (and even the
> others) databases. I suppose that having a:
> 
> struct ext_list {
> struct ext_list *prev, *next;
> long id;
> size_t size;
> void *buf;
> };
> 
> that will form a list for each nickname/channel whould be what we need. It
> should be easy to save it using the existing database format.
> Also by providing some functions like:
> 
> struct ext_list *get_extlist_memb(struct ext_list *head, long id);
> 
> void update_extlist_memb(struct ext_list **head, long id, size_t size,
> void *buf);
> 
> 
> 
> 
> 
> ------------------------------------------------------------------
> To unsubscribe or change your subscription options, visit:
> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
>