-
Notifications
You must be signed in to change notification settings - Fork 0
/
quakeircd.h
97 lines (92 loc) · 4.52 KB
/
quakeircd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/* QuakeIRCD
*
* (C) 2004-2013 Denora Team
* Contact us at [email protected]
*
* Please read COPYING and README for furhter details.
*
* Based on the original code of Anope by Anope Team.
* Based on the original code of Thales by Lucas.
*
*
*
*/
/*************************************************************************/
void quakeircd_cmd_nick(char *nick, char *name, const char *modes);
void quakeircd_cmd_mode(char *source, char *dest, char *buf);
void quakeircd_cmd_bot_nick(char *nick, char *user, char *host, char *real, char *modes);
void quakeircd_cmd_notice(char *source, char *dest, char *buf);
void quakeircd_cmd_privmsg(char *source, char *dest, char *buf);
void quakeircd_cmd_serv_notice(char *source, char *dest, char *msg);
void quakeircd_cmd_serv_privmsg(char *source, char *dest, char *msg);
void quakeircd_cmd_quit(char *source, char *buf);
void quakeircd_cmd_pong(char *servname, char *who);
void quakeircd_cmd_join(char *user, char *channel, time_t chantime);
void quakeircd_cmd_part(char *nick, char *chan, char *buf);
void quakeircd_cmd_global(char *source, char *buf);
void quakeircd_cmd_squit(char *servname, char *message);
void quakeircd_cmd_connect(void);
void quakeircd_cmd_eob(void);
void quakeircd_cmd_capab(void);
void quakeircd_cmd_ctcp(char *source, char *dest, char *buf);
void quakeircd_cmd_stats(char *sender, const char *letter, char *server);
void quakeircd_cmd_motd(char *sender, char *servr);
void quakeircd_cmd_ping(char *server);
void quakeircd_cmd_pass(char *pass);
void quakeircd_cmd_server(char *servname, int hop, char *descript);
void quakeircd_cmd_netinfo(int ac, char **av);
void quakeircd_cmd_version(char *server);
void IRCDModeInit(void);
int denora_event_436(char *source, int ac, char **av);
int denora_event_away(char *source, int ac, char **av);
int denora_event_ping(char *source, int ac, char **av);
int denora_event_motd(char *source, int ac, char **av);
int denora_event_join(char *source, int ac, char **av);
int denora_event_kick(char *source, int ac, char **av);
int denora_event_kill(char *source, int ac, char **av);
int denora_event_mode(char *source, int ac, char **av);
int denora_event_quit(char *source, int ac, char **av);
int denora_event_squit(char *source, int ac, char **av);
int denora_event_topic(char *source, int ac, char **av);
int denora_event_whois(char *source, int ac, char **av);
int denora_event_part(char *source, int ac, char **av);
int denora_event_server(char *source, int ac, char **av);
int denora_event_nick(char *source, int ac, char **av);
int denora_event_gnotice(char *source, int ac, char **av);
int denora_event_privmsg(char *source, int ac, char **av);
int denora_event_capab(char *source, int ac, char **av);
int denora_event_sjoin(char *source, int ac, char **av);
int denora_event_svinfo(char *source, int ac, char **av);
int denora_event_chghost(char *source, int ac, char **av);
int denora_event_sethost(char *source, int ac, char **av);
int denora_event_chgident(char *source, int ac, char **av);
int denora_event_setident(char *source, int ac, char **av);
int denora_event_chgname(char *source, int ac, char **av);
int denora_event_setname(char *source, int ac, char **av);
int denora_event_svsinfo(char *source, int ac, char **av);
int denora_event_snick(char *source, int ac, char **av);
int denora_event_vhost(char *source, int ac, char **av);
int denora_event_tkl(char *source, int ac, char **av);
int denora_event_eos(char *source, int ac, char **av);
int denora_event_eob(char *source, int ac, char **av);
int denora_event_pass(char *source, int ac, char **av);
int denora_event_netinfo(char *source, int ac, char **av);
int denora_event_error(char *source, int ac, char **av);
int denora_event_netctrl(char *source, int ac, char **av);
int denora_event_notice(char *source, int ac, char **av);
int denora_event_snotice(char *source, int ac, char **av);
int denora_event_sqline(char *source, int ac, char **av);
int denora_event_umode2(char *source, int ac, char **av);
int denora_event_globops(char *source, int ac, char **av);
int denora_event_swhois(char *source, int ac, char **av);
int denora_event_burst(char *source, int ac, char **av);
int denora_event_sdesc(char *source, int ac, char **av);
int denora_event_svsmode(char *source, int ac, char **av);
int denora_event_svs2mode(char *source, int ac, char **av);
int denora_event_sgline(char *source, int ac, char **av);
int denora_event_pong(char *source, int ac, char **av);
int DenoraInit(int argc, char **argv);
void moduleAddIRCDMsgs(void);
void moduleAddIRCDCmds(void);
void DenoraFini(void);
char *quakeircd_nickip(char *host);