Anope IRC Services  Version 1.8
Macros | Functions
rageircd.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UMODE_a   0x00000001
 
#define UMODE_h   0x00000002
 
#define UMODE_i   0x00000004
 
#define UMODE_o   0x00000008
 
#define UMODE_r   0x00000010
 
#define UMODE_w   0x00000020
 
#define UMODE_A   0x00000040
 
#define UMODE_R   0x80000000
 
#define UMODE_x   0x40000000
 
#define CMODE_i   0x00000001
 
#define CMODE_m   0x00000002
 
#define CMODE_n   0x00000004
 
#define CMODE_p   0x00000008
 
#define CMODE_s   0x00000010
 
#define CMODE_t   0x00000020
 
#define CMODE_k   0x00000040 /* These two used only by ChanServ */
 
#define CMODE_l   0x00000080
 
#define CMODE_R   0x00000100 /* Only identified users can join */
 
#define CMODE_r   0x00000200 /* Set for all registered channels */
 
#define CMODE_c   0x00000400 /* Colors can't be used */
 
#define CMODE_M   0x00000800 /* Non-regged nicks can't send messages */
 
#define CMODE_N   0x00001000
 
#define CMODE_S   0x00002000
 
#define CMODE_C   0x00004000
 
#define CMODE_A   0x00008000
 
#define CMODE_O   0x00010000 /* Only opers can join */
 
#define DEFAULT_MLOCK   CMODE_n | CMODE_t | CMODE_r
 

Functions

void rageircd_set_umode (User *user, int ac, char **av)
 
void rageircd_cmd_svsnoop (char *server, int set)
 
void rageircd_cmd_remove_akill (char *user, char *host)
 
void rageircd_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when)
 
void rageircd_cmd_vhost_off (User *u)
 
void rageircd_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason)
 
void rageircd_cmd_svskill (char *source, char *user, char *buf)
 
void rageircd_cmd_svsmode (User *u, int ac, char **av)
 
void rageircd_cmd_372 (char *source, char *msg)
 
void rageircd_cmd_372_error (char *source)
 
void rageircd_cmd_375 (char *source)
 
void rageircd_cmd_376 (char *source)
 
void rageircd_cmd_nick (char *nick, char *name, char *modes)
 
void rageircd_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void rageircd_cmd_mode (char *source, char *dest, char *buf)
 
void rageircd_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void rageircd_cmd_kick (char *source, char *chan, char *user, char *buf)
 
void rageircd_cmd_notice_ops (char *source, char *dest, char *buf)
 
void rageircd_cmd_notice (char *source, char *dest, char *buf)
 
void rageircd_cmd_notice2 (char *source, char *dest, char *msg)
 
void rageircd_cmd_privmsg (char *source, char *dest, char *buf)
 
void rageircd_cmd_privmsg2 (char *source, char *dest, char *msg)
 
void rageircd_cmd_serv_notice (char *source, char *dest, char *msg)
 
void rageircd_cmd_serv_privmsg (char *source, char *dest, char *msg)
 
void rageircd_cmd_bot_chan_mode (char *nick, char *chan)
 
void rageircd_cmd_351 (char *source)
 
void rageircd_cmd_quit (char *source, char *buf)
 
void rageircd_cmd_pong (char *servname, char *who)
 
void rageircd_cmd_join (char *user, char *channel, time_t chantime)
 
void rageircd_cmd_unsqline (char *user)
 
void rageircd_cmd_invite (char *source, char *chan, char *nick)
 
void rageircd_cmd_part (char *nick, char *chan, char *buf)
 
void rageircd_cmd_391 (char *source, char *timestr)
 
void rageircd_cmd_250 (char *buf)
 
void rageircd_cmd_307 (char *buf)
 
void rageircd_cmd_311 (char *buf)
 
void rageircd_cmd_312 (char *buf)
 
void rageircd_cmd_317 (char *buf)
 
void rageircd_cmd_219 (char *source, char *letter)
 
void rageircd_cmd_401 (char *source, char *who)
 
void rageircd_cmd_318 (char *source, char *who)
 
void rageircd_cmd_242 (char *buf)
 
void rageircd_cmd_243 (char *buf)
 
void rageircd_cmd_211 (char *buf)
 
void rageircd_cmd_global (char *source, char *buf)
 
void rageircd_cmd_global_legacy (char *source, char *fmt)
 
void rageircd_cmd_sqline (char *mask, char *reason)
 
void rageircd_cmd_squit (char *servname, char *message)
 
void rageircd_cmd_svso (char *source, char *nick, char *flag)
 
void rageircd_cmd_chg_nick (char *oldnick, char *newnick)
 
void rageircd_cmd_svsnick (char *source, char *guest, time_t when)
 
void rageircd_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
 
void rageircd_cmd_connect (int servernum)
 
void rageircd_cmd_bob ()
 
void rageircd_cmd_svshold (char *nick)
 
void rageircd_cmd_release_svshold (char *nick)
 
void rageircd_cmd_unsgline (char *mask)
 
void rageircd_cmd_unszline (char *mask)
 
void rageircd_cmd_szline (char *mask, char *reason, char *whom)
 
void rageircd_cmd_sgline (char *mask, char *reason)
 
void rageircd_cmd_unban (char *name, char *nick)
 
void rageircd_cmd_svsmode_chan (char *name, char *mode, char *nick)
 
void rageircd_cmd_svid_umode (char *nick, time_t ts)
 
void rageircd_cmd_nc_change (User *u)
 
void rageircd_cmd_svid_umode2 (User *u, char *ts)
 
void rageircd_cmd_svid_umode3 (User *u, char *ts)
 
void rageircd_cmd_eob ()
 
int rageircd_flood_mode_check (char *value)
 
void rageircd_cmd_jupe (char *jserver, char *who, char *reason)
 
int rageircd_valid_nick (char *nick)
 
void rageircd_cmd_ctcp (char *source, char *dest, char *buf)
 

Macro Definition Documentation

#define CMODE_A   0x00008000

Definition at line 39 of file rageircd.h.

#define CMODE_c   0x00000400 /* Colors can't be used */

Definition at line 34 of file rageircd.h.

#define CMODE_C   0x00004000

Definition at line 38 of file rageircd.h.

#define CMODE_i   0x00000001

Definition at line 24 of file rageircd.h.

#define CMODE_k   0x00000040 /* These two used only by ChanServ */

Definition at line 30 of file rageircd.h.

#define CMODE_l   0x00000080

Definition at line 31 of file rageircd.h.

#define CMODE_m   0x00000002

Definition at line 25 of file rageircd.h.

#define CMODE_M   0x00000800 /* Non-regged nicks can't send messages */

Definition at line 35 of file rageircd.h.

#define CMODE_n   0x00000004

Definition at line 26 of file rageircd.h.

#define CMODE_N   0x00001000

Definition at line 36 of file rageircd.h.

#define CMODE_O   0x00010000 /* Only opers can join */

Definition at line 40 of file rageircd.h.

#define CMODE_p   0x00000008

Definition at line 27 of file rageircd.h.

#define CMODE_R   0x00000100 /* Only identified users can join */

Definition at line 32 of file rageircd.h.

#define CMODE_r   0x00000200 /* Set for all registered channels */

Definition at line 33 of file rageircd.h.

#define CMODE_s   0x00000010

Definition at line 28 of file rageircd.h.

#define CMODE_S   0x00002000

Definition at line 37 of file rageircd.h.

#define CMODE_t   0x00000020

Definition at line 29 of file rageircd.h.

#define DEFAULT_MLOCK   CMODE_n | CMODE_t | CMODE_r

Definition at line 42 of file rageircd.h.

#define UMODE_a   0x00000001

Definition at line 14 of file rageircd.h.

#define UMODE_A   0x00000040

Definition at line 20 of file rageircd.h.

#define UMODE_h   0x00000002

Definition at line 15 of file rageircd.h.

#define UMODE_i   0x00000004

Definition at line 16 of file rageircd.h.

#define UMODE_o   0x00000008

Definition at line 17 of file rageircd.h.

#define UMODE_r   0x00000010

Definition at line 18 of file rageircd.h.

#define UMODE_R   0x80000000

Definition at line 21 of file rageircd.h.

#define UMODE_w   0x00000020

Definition at line 19 of file rageircd.h.

#define UMODE_x   0x40000000

Definition at line 22 of file rageircd.h.

Function Documentation

void rageircd_cmd_211 ( char *  buf)

Definition at line 1122 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_219 ( char *  source,
char *  letter 
)

Definition at line 1068 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_242 ( char *  buf)

Definition at line 1102 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_243 ( char *  buf)

Definition at line 1112 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_250 ( char *  buf)

Definition at line 1018 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_307 ( char *  buf)

Definition at line 1028 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_311 ( char *  buf)

Definition at line 1038 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_312 ( char *  buf)

Definition at line 1048 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_317 ( char *  buf)

Definition at line 1058 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_318 ( char *  source,
char *  who 
)

Definition at line 1092 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_351 ( char *  source)
void rageircd_cmd_372 ( char *  source,
char *  msg 
)

Definition at line 976 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_372_error ( char *  source)

Definition at line 981 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_375 ( char *  source)

Definition at line 987 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_376 ( char *  source)

Definition at line 993 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_391 ( char *  source,
char *  timestr 
)

Definition at line 1009 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_401 ( char *  source,
char *  who 
)

Definition at line 1083 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_akill ( char *  user,
char *  host,
char *  who,
time_t  when,
time_t  expires,
char *  reason 
)

Definition at line 700 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_bob ( )

Definition at line 790 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_bot_chan_mode ( char *  nick,
char *  chan 
)

Definition at line 1222 of file rageircd.c.

References anope_cmd_mode(), ircdvars_::botchanumode, and ircd.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_bot_nick ( char *  nick,
char *  user,
char *  host,
char *  real,
char *  modes 
)

Definition at line 1195 of file rageircd.c.

References EnforceQlinedNick(), rageircd_cmd_sqline(), s_BotServ, send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_chg_nick ( char *  oldnick,
char *  newnick 
)

Definition at line 1408 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_connect ( int  servernum)
void rageircd_cmd_ctcp ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 1553 of file rageircd.c.

References normalizeBuffer(), and send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_eob ( )

Definition at line 1508 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_global ( char *  source,
char *  buf 
)

Definition at line 864 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_global_legacy ( char *  source,
char *  fmt 
)

Definition at line 1527 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_guest_nick ( char *  nick,
char *  user,
char *  host,
char *  real,
char *  modes 
)

Definition at line 1363 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_invite ( char *  source,
char *  chan,
char *  nick 
)

Definition at line 999 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_join ( char *  user,
char *  channel,
time_t  chantime 
)

Definition at line 695 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_jupe ( char *  jserver,
char *  who,
char *  reason 
)
void rageircd_cmd_kick ( char *  source,
char *  chan,
char *  user,
char *  buf 
)

Definition at line 967 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_mode ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 949 of file rageircd.c.

References ircdcap, send_cmd(), ircdcapab_::tsmode, uplink_capab, and UseTSMODE.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_nc_change ( User u)

Definition at line 1387 of file rageircd.c.

References common_svsmode().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_nick ( char *  nick,
char *  name,
char *  modes 
)
void rageircd_cmd_notice ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 883 of file rageircd.c.

References NI_MSG, NSDefFlags, rageircd_cmd_privmsg2(), and send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_notice2 ( char *  source,
char *  dest,
char *  msg 
)

Definition at line 896 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_notice_ops ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 873 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_part ( char *  nick,
char *  chan,
char *  buf 
)

Definition at line 650 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_pong ( char *  servname,
char *  who 
)

Definition at line 733 of file rageircd.c.

References send_cmd().

Referenced by anope_event_ping(), and moduleAddAnopeCmds().

void rageircd_cmd_privmsg ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 901 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_privmsg2 ( char *  source,
char *  dest,
char *  msg 
)

Definition at line 910 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), and rageircd_cmd_notice().

void rageircd_cmd_quit ( char *  source,
char *  buf 
)

Definition at line 1186 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_release_svshold ( char *  nick)

Definition at line 1350 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_remove_akill ( char *  user,
char *  host 
)

Definition at line 643 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_serv_notice ( char *  source,
char *  dest,
char *  msg 
)

Definition at line 915 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_serv_privmsg ( char *  source,
char *  dest,
char *  msg 
)

Definition at line 920 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_sgline ( char *  mask,
char *  reason 
)

Definition at line 637 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_sqline ( char *  mask,
char *  reason 
)

Definition at line 603 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), rageircd_cmd_bot_nick(), and rageircd_cmd_nick().

void rageircd_cmd_squit ( char *  servname,
char *  message 
)

Definition at line 727 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), and rageircd_cmd_jupe().

void rageircd_cmd_svid_umode ( char *  nick,
time_t  ts 
)

Definition at line 1379 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svid_umode2 ( User u,
char *  ts 
)

Definition at line 1393 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svid_umode3 ( User u,
char *  ts 
)

Definition at line 1398 of file rageircd.c.

References common_svsmode(), user_::svid, and user_::timestamp.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svshold ( char *  nick)

Definition at line 1343 of file rageircd.c.

References NSReleaseTimeout, send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svskill ( char *  source,
char *  user,
char *  buf 
)

Definition at line 707 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svsmode ( User u,
int  ac,
char **  av 
)

Definition at line 720 of file rageircd.c.

References user_::nick, send_cmd(), ServerName, and user_::timestamp.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svsmode_chan ( char *  name,
char *  mode,
char *  nick 
)

Definition at line 1213 of file rageircd.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds(), and rageircd_cmd_unban().

void rageircd_cmd_svsnick ( char *  source,
char *  guest,
time_t  when 
)

Definition at line 1355 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_svsnoop ( char *  server,
int  set 
)

Definition at line 627 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds(), and rageircd_cmd_svsadmin().

void rageircd_cmd_svso ( char *  source,
char *  nick,
char *  flag 
)

Definition at line 1371 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_szline ( char *  mask,
char *  reason,
char *  whom 
)

Definition at line 622 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_topic ( char *  whosets,
char *  chan,
char *  whosetit,
char *  topic,
time_t  when 
)

Definition at line 663 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_unban ( char *  name,
char *  nick 
)

Definition at line 1205 of file rageircd.c.

References rageircd_cmd_svsmode_chan().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_unsgline ( char *  mask)

Definition at line 612 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_unsqline ( char *  user)

Definition at line 690 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_unszline ( char *  mask)

Definition at line 617 of file rageircd.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_vhost_off ( User u)

Definition at line 670 of file rageircd.c.

References common_svsmode(), ircd, user_::nick, notice_lang(), s_HostServ, and ircdvars_::vhostchar.

Referenced by moduleAddAnopeCmds().

void rageircd_cmd_vhost_on ( char *  nick,
char *  vIdent,
char *  vhost 
)

Definition at line 684 of file rageircd.c.

References rageircd_cmd_chghost(), s_HostServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

int rageircd_flood_mode_check ( char *  value)

Definition at line 1503 of file rageircd.c.

Referenced by moduleAddAnopeCmds().

void rageircd_set_umode ( User user,
int  ac,
char **  av 
)
int rageircd_valid_nick ( char *  nick)

Definition at line 1536 of file rageircd.c.

Referenced by moduleAddAnopeCmds().