1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] module programming questions
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.esper.net?Subject=%5BIRCServices%20Coding%5D%20module%20programming%20questions&In-Reply-To=42C7FA6E.7080005%40ircpage.com">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"003129.html">
11 <LINK REL=
"Next" HREF=
"003130.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] module programming questions
</H1>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.esper.net?Subject=%5BIRCServices%20Coding%5D%20module%20programming%20questions&In-Reply-To=42C7FA6E.7080005%40ircpage.com"
17 TITLE=
"[IRCServices Coding] module programming questions">achurch at achurch.org
19 <I>Sat Aug
13 12:
04:
32 PDT
2005</I>
21 <LI>Previous message:
<A HREF=
"003129.html">[IRCServices Coding] module programming questions
23 <LI>Next message:
<A HREF=
"003130.html">[IRCServices Coding] cb_unset
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#3132">[ date ]
</a>
27 <a href=
"thread.html#3132">[ thread ]
</a>
28 <a href=
"subject.html#3132">[ subject ]
</a>
29 <a href=
"author.html#3132">[ author ]
</a>
34 <PRE> Apologies for the delay in replying; I've been busy lately.
36 ><i>1. I saw in the memoserv module an array (static Command cmds[]), which
37 </I>><i>(i think) used to declare the commands, which users can use on irc. I
38 </I>><i>searched for the definition of Command structure, and found it in
39 </I>><i>commands.h but can't understand what the variables does. Can anybody
40 </I>><i>explain me what (*has_priv)(User *u), helpmsg_all, etc does to the
41 </I>><i>module? Or can i write a fully functional modul without using functions
42 </I>><i>and structures in command.c or .h?
44 The commands.[ch] files are intended to help with processing
45 pseudoclient commands, by letting you provide a list of commands available
46 which can then be searched by the functions in commands.c. It's not
49 ><i>2. When I compile a module, which provides a new pseudoclient, will it
50 </I>><i>be available after rehashing, or i need to restart services?
52 The module itself will be loaded after a REHASH (I've clarified this
53 in the documentation), so as long as your init_module() function introduces
54 the nickname, it'll be available.
56 ><i>3. Is there any list with some description about available functions
57 </I>><i>like get_user, is_oper, send_cmd, etc etc... I know the definitions are
58 </I>><i>in extern.h and i can find the functions in the .c files, but there
59 </I>><i>aren't and description what the functions actually does. If there aren't
60 </I>><i>any documentation i will try to find it out from the source, i know,
61 </I>><i>it's an alternative, but it would be better to have docs :)
63 A design document detailing all of this information is something I'm
64 hoping to have done for version
5.1. (I'd actually hoped to have it for
65 5.0, but you can see how well that plan worked out...)
68 <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>
69 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
76 <LI>Previous message:
<A HREF=
"003129.html">[IRCServices Coding] module programming questions
78 <LI>Next message:
<A HREF=
"003130.html">[IRCServices Coding] cb_unset
80 <LI> <B>Messages sorted by:
</B>
81 <a href=
"date.html#3132">[ date ]
</a>
82 <a href=
"thread.html#3132">[ thread ]
</a>
83 <a href=
"subject.html#3132">[ subject ]
</a>
84 <a href=
"author.html#3132">[ author ]
</a>