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=">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"003126.html">
11 <LINK REL=
"Next" HREF=
"003128.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="
17 TITLE=
"[IRCServices Coding] module programming questions">toxyc at ircpage.com
19 <I>Sun Jul
3 07:
47:
10 PDT
2005</I>
21 <LI>Previous message:
<A HREF=
"003126.html">[IRCServices Coding] a little feature suggestion
23 <LI>Next message:
<A HREF=
"003128.html">[IRCServices Coding] module programming questions
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#3127">[ date ]
</a>
27 <a href=
"thread.html#3127">[ thread ]
</a>
28 <a href=
"subject.html#3127">[ subject ]
</a>
29 <a href=
"author.html#3127">[ author ]
</a>
36 I have started module programming for about a week ago, although i have
37 been using ircservices for years. I have already read the manual, but i
38 can't find some answers in it.
41 1. I saw in the memoserv module an array (static Command cmds[]), which
42 (i think) used to declare the commands, which users can use on irc. I
43 searched for the definition of Command structure, and found it in
44 commands.h but can't understand what the variables does. Can anybody
45 explain me what (*has_priv)(User *u), helpmsg_all, etc does to the
46 module? Or can i write a fully functional modul without using functions
47 and structures in command.c or .h?
49 2. When I compile a module, which provides a new pseudoclient, will it
50 be available after rehashing, or i need to restart services?
52 3. Is there any list with some description about available functions
53 like get_user, is_oper, send_cmd, etc etc... I know the definitions are
54 in extern.h and i can find the functions in the .c files, but there
55 aren't and description what the functions actually does. If there aren't
56 any documentation i will try to find it out from the source, i know,
57 it's an alternative, but it would be better to have docs :)
69 <LI>Previous message:
<A HREF=
"003126.html">[IRCServices Coding] a little feature suggestion
71 <LI>Next message:
<A HREF=
"003128.html">[IRCServices Coding] module programming questions
73 <LI> <B>Messages sorted by:
</B>
74 <a href=
"date.html#3127">[ date ]
</a>
75 <a href=
"thread.html#3127">[ thread ]
</a>
76 <a href=
"subject.html#3127">[ subject ]
</a>
77 <a href=
"author.html#3127">[ author ]
</a>