1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] svcs5 - request
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20svcs5%20-%20request&In-Reply-To=">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"000086.html">
11 <LINK REL=
"Next" HREF=
"000089.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] svcs5 - request
</H1>
15 <B>v13 at priest.com
</B>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20svcs5%20-%20request&In-Reply-To="
17 TITLE=
"[IRCServices Coding] svcs5 - request">v13 at priest.com
19 <I>Sun Jan
6 05:
52:
14 PST
2002</I>
21 <LI>Previous message:
<A HREF=
"000086.html">[IRCServices Coding] Meilleurs V
œux pour
2002 : ann
ée de m
émoire, de mobilisation, d'action, de justice et de s
ér
énit
é - Appel au soutien moral et financier
23 <LI>Next message:
<A HREF=
"000089.html">[IRCServices Coding] svcs5 - request
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#87">[ date ]
</a>
27 <a href=
"thread.html#87">[ thread ]
</a>
28 <a href=
"subject.html#87">[ subject ]
</a>
29 <a href=
"author.html#87">[ author ]
</a>
34 <PRE> If you realy want other people to write useful modules, then it should be
35 possible for each module to extend the NickServ and ChanServ (and even the
36 others) databases. I suppose that having a:
39 struct ext_list *prev, *next;
45 that will form a list for each nickname/channel whould be what we need. It
46 should be easy to save it using the existing database format.
47 Also by providing some functions like:
49 struct ext_list *get_extlist_memb(struct ext_list *head, long id);
51 void update_extlist_memb(struct ext_list **head, long id, size_t size,
54 /* and one for delete */
56 it should be very easy to handle it.
58 Each module will only need to have a fixed unique integer to use and it will
59 need only one field to be added to struct NickInfo etc.. like:
63 struct ext_list *head;
68 /**********************************************/
77 update_extlist_memb(
&(ni-
>head), MY_ID,
7,
"RANDOM
" );
81 el=get_extlist_memb(ni-
>head, MY_ID);
83 /* and there we have el==NULL or el-
>buf ==
"RANDOM
" */
85 /**********************************************/
87 Something like this whould *REALY* help to add functionality without changing
88 existing code, without creating another database and will be compatible to
100 <LI>Previous message:
<A HREF=
"000086.html">[IRCServices Coding] Meilleurs V
œux pour
2002 : ann
ée de m
émoire, de mobilisation, d'action, de justice et de s
ér
énit
é - Appel au soutien moral et financier
102 <LI>Next message:
<A HREF=
"000089.html">[IRCServices Coding] svcs5 - request
104 <LI> <B>Messages sorted by:
</B>
105 <a href=
"date.html#87">[ date ]
</a>
106 <a href=
"thread.html#87">[ thread ]
</a>
107 <a href=
"subject.html#87">[ subject ]
</a>
108 <a href=
"author.html#87">[ author ]
</a>