Go to the source code of this file.
Defines | |
| #define | CMODE_A 0x00000200 |
| #define | CMODE_c 0x00002000 |
| #define | CMODE_E 0x00004000 |
| #define | CMODE_F 0x00008000 |
| #define | CMODE_G 0x00010000 |
| #define | CMODE_i 0x00000001 |
| #define | CMODE_K 0x00000100 |
| #define | CMODE_k 0x00000040 |
| #define | CMODE_L 0x00020000 |
| #define | CMODE_l 0x00000080 |
| #define | CMODE_m 0x00000002 |
| #define | CMODE_N 0x00040000 |
| #define | CMODE_n 0x00000004 |
| #define | CMODE_O 0x00080000 |
| #define | CMODE_P 0x00100000 |
| #define | CMODE_p 0x00000008 |
| #define | CMODE_R 0x00200000 |
| #define | CMODE_r 0x00000400 |
| #define | CMODE_S 0x00001000 |
| #define | CMODE_s 0x00000010 |
| #define | CMODE_T 0x00400000 |
| #define | CMODE_t 0x00000020 |
| #define | CMODE_V 0x00800000 |
| #define | CMODE_z 0x00000800 |
| #define | DEFAULT_MLOCK CMODE_n | CMODE_t | CMODE_r |
| #define | PROTOCOL_REVISION 3402 |
| #define | UMODE_A 0x00100000 |
| #define | UMODE_a 0x00000001 |
| #define | UMODE_b 0x00010000 |
| #define | UMODE_c 0x00000080 |
| #define | UMODE_C 0x00000002 |
| #define | UMODE_d 0x00001000 |
| #define | UMODE_e 0x01000000 |
| #define | UMODE_E 0x00200000 |
| #define | UMODE_f 0x00000400 |
| #define | UMODE_G 0x00400000 |
| #define | UMODE_g 0x00040000 |
| #define | UMODE_H 0x04000000 |
| #define | UMODE_i 0x00000004 |
| #define | UMODE_k 0x00000200 |
| #define | UMODE_l 0x00020000 |
| #define | UMODE_n 0x00002000 |
| #define | UMODE_O 0x02000000 |
| #define | UMODE_o 0x00000008 |
| #define | UMODE_R 0x00800000 |
| #define | UMODE_r 0x00000100 |
| #define | UMODE_s 0x00000040 |
| #define | UMODE_u 0x00008000 |
| #define | UMODE_v 0x00080000 |
| #define | UMODE_w 0x00000020 |
| #define | UMODE_x 0x00004000 |
| #define | UMODE_y 0x00000800 |
| #define | UMODE_z 0x00000010 |
Functions | |
| void | shadowircd_cmd_211 (char *buf) |
| void | shadowircd_cmd_219 (char *source, char *letter) |
| void | shadowircd_cmd_242 (char *buf) |
| void | shadowircd_cmd_243 (char *buf) |
| void | shadowircd_cmd_250 (char *buf) |
| void | shadowircd_cmd_307 (char *buf) |
| void | shadowircd_cmd_311 (char *buf) |
| void | shadowircd_cmd_312 (char *buf) |
| void | shadowircd_cmd_317 (char *buf) |
| void | shadowircd_cmd_318 (char *source, char *who) |
| void | shadowircd_cmd_351 (char *source) |
| void | shadowircd_cmd_372 (char *source, char *msg) |
| void | shadowircd_cmd_372_error (char *source) |
| void | shadowircd_cmd_375 (char *source) |
| void | shadowircd_cmd_376 (char *source) |
| void | shadowircd_cmd_391 (char *source, char *timestr) |
| void | shadowircd_cmd_401 (char *source, char *who) |
| void | shadowircd_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason) |
| void | shadowircd_cmd_bot_chan_mode (char *nick, char *chan) |
| void | shadowircd_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | shadowircd_cmd_chg_nick (char *oldnick, char *newnick) |
| void | shadowircd_cmd_connect (int servernum) |
| void | shadowircd_cmd_ctcp (char *source, char *dest, char *buf) |
| void | shadowircd_cmd_eob () |
| void | shadowircd_cmd_global (char *source, char *buf) |
| void | shadowircd_cmd_global_legacy (char *source, char *fmt) |
| void | shadowircd_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes) |
| void | shadowircd_cmd_invite (char *source, char *chan, char *nick) |
| void | shadowircd_cmd_join (char *user, char *channel, time_t chantime) |
| void | shadowircd_cmd_jupe (char *jserver, char *who, char *reason) |
| void | shadowircd_cmd_kick (char *source, char *chan, char *user, char *buf) |
| void | shadowircd_cmd_mode (char *source, char *dest, char *buf) |
| void | shadowircd_cmd_nc_change (User *u) |
| void | shadowircd_cmd_nick (char *nick, char *name, char *modes) |
| void | shadowircd_cmd_notice (char *source, char *dest, char *buf) |
| void | shadowircd_cmd_notice2 (char *source, char *dest, char *msg) |
| void | shadowircd_cmd_notice_ops (char *source, char *dest, char *buf) |
| void | shadowircd_cmd_part (char *nick, char *chan, char *buf) |
| void | shadowircd_cmd_pong (char *servname, char *who) |
| void | shadowircd_cmd_privmsg (char *source, char *dest, char *buf) |
| void | shadowircd_cmd_privmsg2 (char *source, char *dest, char *msg) |
| void | shadowircd_cmd_quit (char *source, char *buf) |
| void | shadowircd_cmd_release_svshold (char *nick) |
| void | shadowircd_cmd_remove_akill (char *user, char *host) |
| void | shadowircd_cmd_serv_notice (char *source, char *dest, char *msg) |
| void | shadowircd_cmd_serv_privmsg (char *source, char *dest, char *msg) |
| void | shadowircd_cmd_sgline (char *mask, char *reason) |
| void | shadowircd_cmd_sqline (char *mask, char *reason) |
| void | shadowircd_cmd_squit (char *servname, char *message) |
| void | shadowircd_cmd_svid_umode (char *nick, time_t ts) |
| void | shadowircd_cmd_svid_umode2 (User *u, char *ts) |
| void | shadowircd_cmd_svid_umode3 (User *u, char *ts) |
| void | shadowircd_cmd_svshold (char *nick) |
| void | shadowircd_cmd_svskill (char *source, char *user, char *buf) |
| void | shadowircd_cmd_svsmode (User *u, int ac, char **av) |
| void | shadowircd_cmd_svsmode_chan (char *name, char *mode, char *nick) |
| void | shadowircd_cmd_svsnick (char *source, char *guest, time_t when) |
| void | shadowircd_cmd_svsnoop (char *server, int set) |
| void | shadowircd_cmd_svso (char *source, char *nick, char *flag) |
| void | shadowircd_cmd_szline (char *mask, char *reason, char *whom) |
| void | shadowircd_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when) |
| void | shadowircd_cmd_unban (char *name, char *nick) |
| void | shadowircd_cmd_unsgline (char *mask) |
| void | shadowircd_cmd_unsqline (char *user) |
| void | shadowircd_cmd_unszline (char *mask) |
| void | shadowircd_cmd_vhost_off (User *u) |
| void | shadowircd_cmd_vhost_on (char *nick, char *vIdent, char *vhost) |
| int | shadowircd_flood_mode_check (char *value) |
| void | shadowircd_set_umode (User *user, int ac, char **av) |
| int | shadowircd_valid_nick (char *nick) |
| #define CMODE_A 0x00000200 |
Definition at line 55 of file shadowircd.h.
| #define CMODE_c 0x00002000 |
Definition at line 59 of file shadowircd.h.
| #define CMODE_E 0x00004000 |
Definition at line 60 of file shadowircd.h.
| #define CMODE_F 0x00008000 |
Definition at line 61 of file shadowircd.h.
| #define CMODE_G 0x00010000 |
Definition at line 62 of file shadowircd.h.
| #define CMODE_i 0x00000001 |
Definition at line 46 of file shadowircd.h.
| #define CMODE_K 0x00000100 |
Definition at line 54 of file shadowircd.h.
| #define CMODE_k 0x00000040 |
Definition at line 52 of file shadowircd.h.
| #define CMODE_L 0x00020000 |
Definition at line 63 of file shadowircd.h.
| #define CMODE_l 0x00000080 |
Definition at line 53 of file shadowircd.h.
| #define CMODE_m 0x00000002 |
Definition at line 47 of file shadowircd.h.
| #define CMODE_N 0x00040000 |
Definition at line 64 of file shadowircd.h.
| #define CMODE_n 0x00000004 |
Definition at line 48 of file shadowircd.h.
| #define CMODE_O 0x00080000 |
Definition at line 65 of file shadowircd.h.
| #define CMODE_P 0x00100000 |
Definition at line 66 of file shadowircd.h.
| #define CMODE_p 0x00000008 |
Definition at line 49 of file shadowircd.h.
| #define CMODE_R 0x00200000 |
Definition at line 67 of file shadowircd.h.
| #define CMODE_r 0x00000400 |
Definition at line 56 of file shadowircd.h.
| #define CMODE_S 0x00001000 |
Definition at line 58 of file shadowircd.h.
| #define CMODE_s 0x00000010 |
Definition at line 50 of file shadowircd.h.
| #define CMODE_T 0x00400000 |
Definition at line 68 of file shadowircd.h.
| #define CMODE_t 0x00000020 |
Definition at line 51 of file shadowircd.h.
| #define CMODE_V 0x00800000 |
Definition at line 69 of file shadowircd.h.
| #define CMODE_z 0x00000800 |
Definition at line 57 of file shadowircd.h.
| #define DEFAULT_MLOCK CMODE_n | CMODE_t | CMODE_r |
Definition at line 71 of file shadowircd.h.
| #define PROTOCOL_REVISION 3402 |
Definition at line 15 of file shadowircd.h.
Referenced by shadowircd_cmd_351(), and shadowircd_cmd_server().
| #define UMODE_A 0x00100000 |
Definition at line 38 of file shadowircd.h.
| #define UMODE_a 0x00000001 |
Definition at line 18 of file shadowircd.h.
| #define UMODE_b 0x00010000 |
Definition at line 34 of file shadowircd.h.
| #define UMODE_c 0x00000080 |
Definition at line 25 of file shadowircd.h.
| #define UMODE_C 0x00000002 |
Definition at line 19 of file shadowircd.h.
| #define UMODE_d 0x00001000 |
Definition at line 30 of file shadowircd.h.
| #define UMODE_e 0x01000000 |
Definition at line 42 of file shadowircd.h.
| #define UMODE_E 0x00200000 |
Definition at line 39 of file shadowircd.h.
| #define UMODE_f 0x00000400 |
Definition at line 28 of file shadowircd.h.
| #define UMODE_G 0x00400000 |
Definition at line 40 of file shadowircd.h.
| #define UMODE_g 0x00040000 |
Definition at line 36 of file shadowircd.h.
| #define UMODE_H 0x04000000 |
Definition at line 44 of file shadowircd.h.
| #define UMODE_i 0x00000004 |
Definition at line 20 of file shadowircd.h.
| #define UMODE_k 0x00000200 |
Definition at line 27 of file shadowircd.h.
| #define UMODE_l 0x00020000 |
Definition at line 35 of file shadowircd.h.
| #define UMODE_n 0x00002000 |
Definition at line 31 of file shadowircd.h.
| #define UMODE_O 0x02000000 |
Definition at line 43 of file shadowircd.h.
| #define UMODE_o 0x00000008 |
Definition at line 21 of file shadowircd.h.
| #define UMODE_R 0x00800000 |
Definition at line 41 of file shadowircd.h.
| #define UMODE_r 0x00000100 |
Definition at line 26 of file shadowircd.h.
| #define UMODE_s 0x00000040 |
Definition at line 24 of file shadowircd.h.
| #define UMODE_u 0x00008000 |
Definition at line 33 of file shadowircd.h.
| #define UMODE_v 0x00080000 |
Definition at line 37 of file shadowircd.h.
| #define UMODE_w 0x00000020 |
Definition at line 23 of file shadowircd.h.
| #define UMODE_x 0x00004000 |
Definition at line 32 of file shadowircd.h.
| #define UMODE_y 0x00000800 |
Definition at line 29 of file shadowircd.h.
| #define UMODE_z 0x00000010 |
Definition at line 22 of file shadowircd.h.
| void shadowircd_cmd_211 | ( | char * | buf | ) |
Definition at line 1318 of file shadowircd.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_219 | ( | char * | source, | |
| char * | letter | |||
| ) |
Definition at line 1264 of file shadowircd.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_242 | ( | char * | buf | ) |
Definition at line 1298 of file shadowircd.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_243 | ( | char * | buf | ) |
Definition at line 1308 of file shadowircd.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_250 | ( | char * | buf | ) |
Definition at line 1214 of file shadowircd.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_307 | ( | char * | buf | ) |
Definition at line 1224 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_311 | ( | char * | buf | ) |
Definition at line 1234 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_312 | ( | char * | buf | ) |
Definition at line 1244 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_317 | ( | char * | buf | ) |
Definition at line 1254 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_318 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1288 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_351 | ( | char * | source | ) |
Definition at line 1473 of file shadowircd.c.
References EncModule, ircd, ircdvars_::name, PROTOCOL_REVISION, send_cmd(), ServerName, TS6SID, version_build, version_flags, and version_number.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_372 | ( | char * | source, | |
| char * | msg | |||
| ) |
Definition at line 1181 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_372_error | ( | char * | source | ) |
Definition at line 1186 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_375 | ( | char * | source | ) |
Definition at line 1193 of file shadowircd.c.
References send_cmd(), ServerName, and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_376 | ( | char * | source | ) |
Definition at line 1199 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_391 | ( | char * | source, | |
| char * | timestr | |||
| ) |
Definition at line 1205 of file shadowircd.c.
References send_cmd(), and ServerName.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_401 | ( | char * | source, | |
| char * | who | |||
| ) |
Definition at line 1279 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_akill | ( | char * | user, | |
| char * | host, | |||
| char * | who, | |||
| time_t | when, | |||
| time_t | expires, | |||
| char * | reason | |||
| ) |
Definition at line 904 of file shadowircd.c.
References find_uid(), s_OperServ, send_cmd(), and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_bot_chan_mode | ( | char * | nick, | |
| char * | chan | |||
| ) |
Definition at line 1390 of file shadowircd.c.
References anope_cmd_mode(), ircdvars_::botchanumode, find_uid(), ircd, and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_bot_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
Definition at line 989 of file shadowircd.c.
References EnforceQlinedNick(), new_uid(), send_cmd(), shadowircd_cmd_sqline(), ts6_uid_retrieve(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_chg_nick | ( | char * | oldnick, | |
| char * | newnick | |||
| ) |
Definition at line 1558 of file shadowircd.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_connect | ( | int | servernum | ) |
Definition at line 973 of file shadowircd.c.
References me_server, new_server(), RemotePassword, RemotePassword2, RemotePassword3, SERVER_ISME, ServerDesc, ServerName, shadowircd_cmd_capab(), shadowircd_cmd_pass(), shadowircd_cmd_server(), shadowircd_cmd_svinfo(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_ctcp | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1701 of file shadowircd.c.
References normalizeBuffer(), and send_cmd().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_eob | ( | ) |
Definition at line 1050 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_global | ( | char * | source, | |
| char * | buf | |||
| ) |
Definition at line 525 of file shadowircd.c.
References find_uid(), send_cmd(), TS6SID, and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_global_legacy | ( | char * | source, | |
| char * | fmt | |||
| ) |
Definition at line 546 of file shadowircd.c.
References find_uid(), send_cmd(), ServerName, TS6SID, and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_guest_nick | ( | char * | nick, | |
| char * | user, | |||
| char * | host, | |||
| char * | real, | |||
| char * | modes | |||
| ) |
| void shadowircd_cmd_invite | ( | char * | source, | |
| char * | chan, | |||
| char * | nick | |||
| ) |
Definition at line 1420 of file shadowircd.c.
References find_uid(), finduser(), send_cmd(), user_::uid, and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_join | ( | char * | user, | |
| char * | channel, | |||
| time_t | chantime | |||
| ) |
Definition at line 886 of file shadowircd.c.
References find_uid(), send_cmd(), and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_jupe | ( | char * | jserver, | |
| char * | who, | |||
| char * | reason | |||
| ) |
Definition at line 1665 of file shadowircd.c.
References findserver(), me_server, new_server(), SERVER_JUPED, servlist, shadowircd_cmd_server(), shadowircd_cmd_squit(), and snprintf().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_kick | ( | char * | source, | |
| char * | chan, | |||
| char * | user, | |||
| char * | buf | |||
| ) |
Definition at line 1364 of file shadowircd.c.
References find_uid(), finduser(), send_cmd(), user_::uid, and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_mode | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1327 of file shadowircd.c.
References find_uid(), send_cmd(), and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_nc_change | ( | User * | u | ) |
| void shadowircd_cmd_nick | ( | char * | nick, | |
| char * | name, | |||
| char * | modes | |||
| ) |
Definition at line 1352 of file shadowircd.c.
References EnforceQlinedNick(), new_uid(), send_cmd(), ServiceHost, ServiceUser, shadowircd_cmd_sqline(), ts6_uid_retrieve(), and TS6SID.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 459 of file shadowircd.c.
References find_uid(), finduser(), NI_MSG, NSDefFlags, send_cmd(), shadowircd_cmd_privmsg2(), user_::uid, and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_notice2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 478 of file shadowircd.c.
References find_uid(), finduser(), send_cmd(), user_::uid, and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_notice_ops | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 1381 of file shadowircd.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_part | ( | char * | nick, | |
| char * | chan, | |||
| char * | buf | |||
| ) |
Definition at line 1002 of file shadowircd.c.
References find_uid(), send_cmd(), and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_pong | ( | char * | servname, | |
| char * | who | |||
| ) |
Definition at line 1414 of file shadowircd.c.
References send_cmd(), and TS6SID.
Referenced by anope_event_ping(), and moduleAddAnopeCmds().
| void shadowircd_cmd_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | buf | |||
| ) |
Definition at line 489 of file shadowircd.c.
References find_uid(), send_cmd(), and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_privmsg2 | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 503 of file shadowircd.c.
References find_uid(), send_cmd(), and uid_::uid.
Referenced by moduleAddAnopeCmds(), and shadowircd_cmd_notice().
| void shadowircd_cmd_quit | ( | char * | source, | |
| char * | buf | |||
| ) |
Definition at line 1400 of file shadowircd.c.
References find_uid(), send_cmd(), and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_release_svshold | ( | char * | nick | ) |
| void shadowircd_cmd_remove_akill | ( | char * | user, | |
| char * | host | |||
| ) |
Definition at line 850 of file shadowircd.c.
References find_uid(), s_OperServ, send_cmd(), and uid_::uid.
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_serv_notice | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 514 of file shadowircd.c.
References send_cmd().
Referenced by moduleAddAnopeCmds().
| void shadowircd_cmd_serv_privmsg | ( | char * | source, | |
| char * | dest, | |||
| char * | msg | |||
| ) |
Definition at line 519 of file