[IRCServices Coding] svcs5 - request
Ben Goldstein
beng at nc.rr.com
Sun Jan 6 09:42:24 PST 2002
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);