]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
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="> | |
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"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices Coding] module programming questions</H1> | |
15 | <B>Toxyc</B> | |
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 | |
18 | </A><BR> | |
19 | <I>Sun Jul 3 07:47:10 PDT 2005</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="003126.html">[IRCServices Coding] a little feature suggestion | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="003128.html">[IRCServices Coding] module programming questions | |
24 | </A></li> | |
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> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>hi all | |
35 | ||
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. | |
39 | My questions are: | |
40 | ||
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? | |
48 | ||
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? | |
51 | ||
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 :) | |
58 | ||
59 | thanks in advance | |
60 | Toxyc | |
61 | ||
62 | </PRE> | |
63 | ||
64 | ||
65 | <!--endarticle--> | |
66 | <HR> | |
67 | <P><UL> | |
68 | <!--threads--> | |
69 | <LI>Previous message: <A HREF="003126.html">[IRCServices Coding] a little feature suggestion | |
70 | </A></li> | |
71 | <LI>Next message: <A HREF="003128.html">[IRCServices Coding] module programming questions | |
72 | </A></li> | |
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> | |
78 | </LI> | |
79 | </UL> | |
80 | ||
81 | </body></html> |