]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2005/003132.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2005 / 003132.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] module programming questions
5 </TITLE>
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">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] module programming questions</H1>
15 <B>Andrew Church</B>
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
18 </A><BR>
19 <I>Sat Aug 13 12:04:32 PDT 2005</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="003129.html">[IRCServices Coding] module programming questions
22 </A></li>
23 <LI>Next message: <A HREF="003130.html">[IRCServices Coding] cb_unset
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE> Apologies for the delay in replying; I've been busy lately.
35
36 &gt;<i>1. I saw in the memoserv module an array (static Command cmds[]), which
37 </I>&gt;<i>(i think) used to declare the commands, which users can use on irc. I
38 </I>&gt;<i>searched for the definition of Command structure, and found it in
39 </I>&gt;<i>commands.h but can't understand what the variables does. Can anybody
40 </I>&gt;<i>explain me what (*has_priv)(User *u), helpmsg_all, etc does to the
41 </I>&gt;<i>module? Or can i write a fully functional modul without using functions
42 </I>&gt;<i>and structures in command.c or .h?
43 </I>
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
47 necessary, however.
48
49 &gt;<i>2. When I compile a module, which provides a new pseudoclient, will it
50 </I>&gt;<i>be available after rehashing, or i need to restart services?
51 </I>
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.
55
56 &gt;<i>3. Is there any list with some description about available functions
57 </I>&gt;<i>like get_user, is_oper, send_cmd, etc etc... I know the definitions are
58 </I>&gt;<i>in extern.h and i can find the functions in the .c files, but there
59 </I>&gt;<i>aren't and description what the functions actually does. If there aren't
60 </I>&gt;<i>any documentation i will try to find it out from the source, i know,
61 </I>&gt;<i>it's an alternative, but it would be better to have docs :)
62 </I>
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...)
66
67 --Andrew Church
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>
70 </PRE>
71
72 <!--endarticle-->
73 <HR>
74 <P><UL>
75 <!--threads-->
76 <LI>Previous message: <A HREF="003129.html">[IRCServices Coding] module programming questions
77 </A></li>
78 <LI>Next message: <A HREF="003130.html">[IRCServices Coding] cb_unset
79 </A></li>
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>
85 </LI>
86 </UL>
87
88 </body></html>