Go to the source code of this file.
Data Structures | |
| struct | IRCDProto |
Functions | |
| int | protocol_init () |
| int | protocol_open (char *filename) |
| void | add_protocol (char *name, char *version, char *author, int ts6) |
| void | addu_modes (int mode, uint32 bits, uint32 flags) |
| void | addp_connect (void(*func)()) |
| void | addp_oper (void(*func)(char *source, char *opertype)) |
| void | addp_add_user (void(*func)(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 *)) |
| void | addp_join (void(*func)(User *, Channel *)) |
| void | addp_part (void(*func)(User *, Channel *, char *)) |
| void | addp_set_cmod (void(*func)(Channel *, int, char *)) |
| void | addp_set_umode (void(*func)(User *, int, char *)) |
| void | addp_umode (void(*func)(User *, char *)) |
| void | addp_mode (void(*func)(User *, Channel *, char *)) |
| void | addp_server (void(*func)(Link *)) |
| void | ircd_connect () |
| void | ircd_add_user (User *) |
| void | ircd_ping (char *source) |
| void | ircd_oper (char *source, char *opertype) |
| void | ircd_wallop (char *source, char *msg,...) |
| void | ircd_xline (char *xline, char *source, char *mask, char *reason,...) |
| void | ircd_version (User *) |
| void | ircd_join (User *, Channel *) |
| void | ircd_set_cmode (Channel *c, int argc, char *modes) |
| void | ircd_set_umode (User *u, int argc, char *modes) |
| void | ircd_mode (User *, Channel *, char *) |
| void | ircd_umode (User *, char *) |
| void | ircd_kill (User *, char *) |
| void | ircd_server (Link *) |
| void | ircd_null () |
Variables | |
| char * | ircd_umodes [128] |
| 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 *) | func | ) |
| 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_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_cmod | ( | void(*)(Channel *, int, char *) | func | ) |
| 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 *) | func | ) |
| 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 * | ) |
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 * | , | |
| Channel * | ||||
| ) |
Definition at line 274 of file protocol.c.
References IRCDProto::ircd_join.
Referenced by AddToChannelU(), and burst_local_users().
| void ircd_kill | ( | User * | , | |
| char * | ||||
| ) |
Definition at line 284 of file protocol.c.
References IRCDProto::ircd_kill.
| void ircd_mode | ( | User * | , | |
| Channel * | , | |||
| char * | ||||
| ) |
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_ping | ( | char * | source | ) |
Definition at line 236 of file protocol.c.
References IRCDProto::ircd_ping.
Referenced by ev_ping().
| void ircd_server | ( | Link * | ) |
Definition at line 225 of file protocol.c.
References IRCDProto::ircd_server.
Referenced by burst_local_servers().
| void ircd_set_cmode | ( | Channel * | c, | |
| 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 * | , | |
| char * | ||||
| ) |
Definition at line 185 of file protocol.c.
References IRCDProto::ircd_umode.
| void ircd_version | ( | 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().
| int protocol_open | ( | char * | filename | ) |
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().
| char* ircd_umodes[128] |
Definition at line 34 of file user.c.
Referenced by create_usermode_string(), and read_usermode_string().
1.6.3