#include "stdinc.h"#include "server.h"Go to the source code of this file.
Functions | |
| int | protocol_init () |
| void | add_protocol (char *name, char *version, char *author, int ts6) |
| void | addp_connect (void(*func)()) |
| void | addp_oper (void(*func)(char *source, char *opertype)) |
| void | addp_add_user (void(*func)(User *user)) |
| void | addp_ping (void(*func)(char *source)) |
| void | addp_wallop (void(*func)(char *source, char *msg)) |
| void | addp_xline (void(*func)(char *xline, char *source, char *mask, char *reason)) |
| void | addp_version (void(*func)(User *user)) |
| void | addp_set_cmode (void(*func)(Channel *, int, char *)) |
| void | addp_set_umode (void(*func)(User *, int, char *)) |
| void | addp_join (void(*func)(User *, Channel *)) |
| void | addp_part (void(*func)(User *, Channel *, char *)) |
| void | addp_mode (void(*func)(User *, Channel *, char *)) |
| void | addp_umode (void(*func)(User *, char *)) |
| void | addp_kill (void(*func)(User *, char *)) |
| void | addp_server (void(*func)(Link *)) |
| void | ircd_mode (User *u, Channel *c, char *mode) |
| void | ircd_umode (User *u, char *mode) |
| void | ircd_null () |
| void | ircd_xline (char *xline, char *source, char *mask, char *reason,...) |
| void | ircd_version (User *user) |
| void | ircd_connect () |
| void | ircd_server (Link *serv) |
| void | ircd_add_user (User *user) |
| void | ircd_ping (char *source) |
| void | ircd_oper (char *source, char *opertype) |
| void | ircd_wallop (char *source, char *msg,...) |
| void | ircd_set_cmode (Channel *u, int argc, char *modes) |
| void | ircd_set_umode (User *u, int argc, char *modes) |
| void | ircd_join (User *u, Channel *c) |
| void | ircd_part (User *u, Channel *c, char *message) |
| void | ircd_kill (User *u, char *message) |
Variables | |
| Link * | serv_list |
| IRCDProto | IRCd |
| void add_protocol | ( | char * | name, | |
| char * | version, | |||
| char * | author, | |||
| int | ts6 | |||
| ) |
Definition at line 69 of file protocol.c.
References IRCDProto::age, alog(), IRCDProto::author, debug, IRCDProto::name, nofork, IRCDProto::require_ts6, IRCDProto::ts, IRCDProto::ts6, and IRCDProto::version.
| void addp_add_user | ( | void(*)(User *user) | func | ) |
Definition at line 110 of file protocol.c.
References IRCDProto::ircd_add_user.
| void addp_connect | ( | void(*)() | func | ) |
Definition at line 100 of file protocol.c.
References IRCDProto::ircd_connect.
| void addp_join | ( | void(*)(User *, Channel *) | func | ) |
Definition at line 145 of file protocol.c.
References IRCDProto::ircd_join.
| void addp_kill | ( | void(*)(User *, char *) | func | ) |
Definition at line 165 of file protocol.c.
References IRCDProto::ircd_kill.
| void addp_mode | ( | void(*)(User *, Channel *, char *) | func | ) |
Definition at line 155 of file protocol.c.
References IRCDProto::ircd_mode.
| void addp_oper | ( | void(*)(char *source, char *opertype) | func | ) |
Definition at line 105 of file protocol.c.
References IRCDProto::ircd_oper.
| void addp_part | ( | void(*)(User *, Channel *, char *) | func | ) |
Definition at line 150 of file protocol.c.
References IRCDProto::ircd_part.
| void addp_ping | ( | void(*)(char *source) | func | ) |
Definition at line 115 of file protocol.c.
References IRCDProto::ircd_ping.
| void addp_server | ( | void(*)(Link *) | func | ) |
Definition at line 170 of file protocol.c.
References IRCDProto::ircd_server.
| void addp_set_cmode | ( | void(*)(Channel *, int, char *) | func | ) |
Definition at line 135 of file protocol.c.
References IRCDProto::ircd_set_cmode.
| void addp_set_umode | ( | void(*)(User *, int, char *) | func | ) |
Definition at line 140 of file protocol.c.
References IRCDProto::ircd_set_umode.
| void addp_umode | ( | void(*)(User *, char *) | func | ) |
Definition at line 160 of file protocol.c.
References IRCDProto::ircd_umode.
| void addp_version | ( | void(*)(User *user) | func | ) |
Definition at line 130 of file protocol.c.
References IRCDProto::ircd_version.
| void addp_wallop | ( | void(*)(char *source, char *msg) | func | ) |
Definition at line 120 of file protocol.c.
References IRCDProto::ircd_wallop.
| void addp_xline | ( | void(*)(char *xline, char *source, char *mask, char *reason) | func | ) |
Definition at line 125 of file protocol.c.
References IRCDProto::ircd_xline.
| void ircd_add_user | ( | User * | user | ) |
Definition at line 231 of file protocol.c.
References IRCDProto::ircd_add_user.
Referenced by foo_connect(), introduce_users(), and NewClient().
| void ircd_connect | ( | ) |
Definition at line 220 of file protocol.c.
References IRCDProto::ircd_connect.
Referenced by ev_connectuplink(), and Run().
| void ircd_join | ( | User * | u, | |
| Channel * | c | |||
| ) |
Definition at line 274 of file protocol.c.
References IRCDProto::ircd_join.
Referenced by AddToChannelU(), and burst_local_users().
| void ircd_kill | ( | User * | u, | |
| char * | message | |||
| ) |
Definition at line 284 of file protocol.c.
References IRCDProto::ircd_kill.
| void ircd_mode | ( | User * | u, | |
| Channel * | c, | |||
| char * | mode | |||
| ) |
Definition at line 177 of file protocol.c.
References IRCDProto::ircd_mode.
| void ircd_null | ( | ) |
Definition at line 195 of file protocol.c.
Referenced by protocol_init().
| void ircd_oper | ( | char * | source, | |
| char * | opertype | |||
| ) |
Definition at line 241 of file protocol.c.
References IRCDProto::ircd_oper.
| void ircd_part | ( | User * | u, | |
| Channel * | c, | |||
| char * | message | |||
| ) |
Definition at line 279 of file protocol.c.
References IRCDProto::ircd_part.
| void ircd_ping | ( | char * | source | ) |
Definition at line 236 of file protocol.c.
References IRCDProto::ircd_ping.
Referenced by ev_ping().
| void ircd_server | ( | Link * | serv | ) |
Definition at line 225 of file protocol.c.
References IRCDProto::ircd_server.
Referenced by burst_local_servers().
| void ircd_set_cmode | ( | Channel * | u, | |
| int | argc, | |||
| char * | modes | |||
| ) |
Definition at line 263 of file protocol.c.
References IRCDProto::ircd_set_cmode.
| void ircd_set_umode | ( | User * | u, | |
| int | argc, | |||
| char * | modes | |||
| ) |
Definition at line 268 of file protocol.c.
References IRCDProto::ircd_set_umode.
| void ircd_umode | ( | User * | u, | |
| char * | mode | |||
| ) |
Definition at line 185 of file protocol.c.
References IRCDProto::ircd_umode.
| void ircd_version | ( | User * | user | ) |
Definition at line 215 of file protocol.c.
References IRCDProto::ircd_version.
| void ircd_wallop | ( | char * | source, | |
| char * | msg, | |||
| ... | ||||
| ) |
Definition at line 246 of file protocol.c.
References CfgSettings, IRCDProto::ircd_wallop, and Conf::servername.
| void ircd_xline | ( | char * | xline, | |
| char * | source, | |||
| char * | mask, | |||
| char * | reason, | |||
| ... | ||||
| ) |
Definition at line 200 of file protocol.c.
References IRCDProto::ircd_xline.
| int protocol_init | ( | ) |
Definition at line 34 of file protocol.c.
References IRCDProto::ircd_add_user, IRCDProto::ircd_connect, IRCDProto::ircd_join, IRCDProto::ircd_kill, IRCDProto::ircd_mode, ircd_null(), IRCDProto::ircd_oper, IRCDProto::ircd_part, IRCDProto::ircd_ping, IRCDProto::ircd_server, IRCDProto::ircd_set_cmode, IRCDProto::ircd_umode, IRCDProto::ircd_version, IRCDProto::ircd_wallop, IRCDProto::ircd_xline, IRCDProto::p10, IRCDProto::ts, and IRCDProto::ts6.
Referenced by Run().
Definition at line 31 of file protocol.c.
Referenced by AddUser(), ev_ping(), exit_one_user(), exit_user(), NewClient(), parse(), sendto_channel(), sendto_logchan(), sendto_one(), sendto_one_notice(), sendto_one_numeric(), sendto_one_privmsg(), and uplink_cleanup().
1.6.3