Anope IRC Services  Version 1.8
Functions | Variables
ircd.c File Reference
#include "services.h"
#include "extern.h"
Include dependency graph for ircd.c:

Go to the source code of this file.

Functions

void initIrcdProto ()
 
int anope_set_mod_current_buffer (int ac, char **av)
 
void anope_set_umode (User *user, int ac, char **av)
 
void anope_cmd_svsnoop (char *server, int set)
 
void anope_cmd_remove_akill (char *user, char *host)
 
void anope_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when)
 
void anope_cmd_vhost_off (User *u)
 
void anope_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason)
 
void anope_cmd_svskill (char *source, char *user, const char *fmt,...)
 
void anope_cmd_svsmode (User *u, int ac, char **av)
 
void anope_cmd_372 (char *source, char *msg)
 
void anope_cmd_372_error (char *source)
 
void anope_cmd_375 (char *source)
 
void anope_cmd_376 (char *source)
 
void anope_cmd_nick (char *nick, char *name, char *modes)
 
void anope_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void anope_cmd_mode (char *source, char *dest, const char *fmt,...)
 
void anope_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void anope_cmd_kick (char *source, char *chan, char *user, const char *fmt,...)
 
void anope_cmd_notice_ops (char *source, char *dest, const char *fmt,...)
 
void anope_cmd_notice (char *source, char *dest, const char *fmt,...)
 
void anope_cmd_notice2 (char *source, char *dest, char *msg)
 
void anope_cmd_action (char *source, char *dest, const char *fmt,...)
 
void anope_cmd_privmsg (char *source, char *dest, const char *fmt,...)
 
void anope_cmd_privmsg2 (char *source, char *dest, char *msg)
 
void anope_cmd_serv_notice (char *source, char *dest, char *msg)
 
void anope_cmd_serv_privmsg (char *source, char *dest, char *msg)
 
void anope_cmd_bot_chan_mode (char *nick, char *chan)
 
void anope_cmd_351 (char *source)
 
void anope_cmd_quit (char *source, const char *fmt,...)
 
void anope_cmd_pong (char *servname, char *who)
 
void anope_cmd_join (char *user, char *channel, time_t chantime)
 
void anope_cmd_unsqline (char *user)
 
void anope_cmd_invite (char *source, char *chan, char *nick)
 
void anope_cmd_part (char *nick, char *chan, const char *fmt,...)
 
void anope_cmd_391 (char *source, char *timestr)
 
void anope_cmd_250 (const char *fmt,...)
 
void anope_cmd_307 (const char *fmt,...)
 
void anope_cmd_311 (const char *fmt,...)
 
void anope_cmd_312 (const char *fmt,...)
 
void anope_cmd_317 (const char *fmt,...)
 
void anope_cmd_219 (char *source, char *letter)
 
void anope_cmd_401 (char *source, char *who)
 
void anope_cmd_318 (char *source, char *who)
 
void anope_cmd_242 (const char *fmt,...)
 
void anope_cmd_243 (const char *fmt,...)
 
void anope_cmd_211 (const char *fmt,...)
 
void anope_cmd_global (char *source, const char *fmt,...)
 
void anope_cmd_global_legacy (char *source, char *fmt)
 
void anope_cmd_sqline (char *mask, char *reason)
 
void anope_cmd_squit (char *servname, char *message)
 
void anope_cmd_svso (char *source, char *nick, char *flag)
 
void anope_cmd_chg_nick (char *oldnick, char *newnick)
 
void anope_cmd_svsnick (char *source, char *guest, time_t when)
 
void anope_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
 
void anope_cmd_connect (int servernum)
 
void anope_cmd_bob ()
 
void anope_cmd_svshold (char *nick)
 
void anope_cmd_release_svshold (char *nick)
 
void anope_cmd_unsgline (char *mask)
 
void anope_cmd_unszline (char *mask)
 
void anope_cmd_szline (char *mask, char *reason, char *whom)
 
void anope_cmd_sgline (char *mask, char *reason)
 
void anope_cmd_unban (char *name, char *nick)
 
void anope_cmd_svsmode_chan (char *name, char *mode, char *nick)
 
void anope_cmd_svid_umode (char *nick, time_t ts)
 
void anope_cmd_nc_change (User *u)
 
void anope_cmd_svid_umode2 (User *u, char *ts)
 
void anope_cmd_svid_umode3 (User *u, char *ts)
 
void anope_cmd_svsjoin (char *source, char *nick, char *chan, char *param)
 
void anope_cmd_svspart (char *source, char *nick, char *chan)
 
void anope_cmd_swhois (char *source, char *who, char *mask)
 
void anope_cmd_eob ()
 
int anope_flood_mode_check (char *value)
 
int anope_jointhrottle_mode_check (char *value)
 
void anope_cmd_jupe (char *jserver, char *who, char *reason)
 
int anope_valid_nick (char *nick)
 
int anope_valid_chan (char *chan)
 
void anope_cmd_ctcp (char *source, char *dest, const char *fmt,...)
 
void pmodule_set_mod_current_buffer (void(*func)(int ac, char **av))
 
void pmodule_cmd_svsnoop (void(*func)(char *server, int set))
 
void pmodule_cmd_remove_akill (void(*func)(char *user, char *host))
 
void pmodule_cmd_topic (void(*func)(char *whosets, char *chan, char *whosetit, char *topic, time_t when))
 
void pmodule_cmd_vhost_off (void(*func)(User *u))
 
void pmodule_cmd_akill (void(*func)(char *user, char *host, char *who, time_t when, time_t expires, char *reason))
 
void pmodule_cmd_svskill (void(*func)(char *source, char *user, char *buf))
 
void pmodule_cmd_svsmode (void(*func)(User *u, int ac, char **av))
 
void pmodule_cmd_372 (void(*func)(char *source, char *msg))
 
void pmodule_cmd_372_error (void(*func)(char *source))
 
void pmodule_cmd_375 (void(*func)(char *source))
 
void pmodule_cmd_376 (void(*func)(char *source))
 
void pmodule_cmd_nick (void(*func)(char *nick, char *name, char *modes))
 
void pmodule_cmd_guest_nick (void(*func)(char *nick, char *user, char *host, char *real, char *modes))
 
void pmodule_cmd_mode (void(*func)(char *source, char *dest, char *buf))
 
void pmodule_cmd_bot_nick (void(*func)(char *nick, char *user, char *host, char *real, char *modes))
 
void pmodule_cmd_kick (void(*func)(char *source, char *chan, char *user, char *buf))
 
void pmodule_cmd_notice_ops (void(*func)(char *source, char *dest, char *buf))
 
void pmodule_cmd_notice (void(*func)(char *source, char *dest, char *buf))
 
void pmodule_cmd_notice2 (void(*func)(char *source, char *dest, char *msg))
 
void pmodule_cmd_privmsg (void(*func)(char *source, char *dest, char *buf))
 
void pmodule_cmd_privmsg2 (void(*func)(char *source, char *dest, char *msg))
 
void pmodule_cmd_serv_notice (void(*func)(char *source, char *dest, char *msg))
 
void pmodule_cmd_serv_privmsg (void(*func)(char *source, char *dest, char *msg))
 
void pmodule_cmd_bot_chan_mode (void(*func)(char *nick, char *chan))
 
void pmodule_cmd_351 (void(*func)(char *source))
 
void pmodule_cmd_quit (void(*func)(char *source, char *buf))
 
void pmodule_cmd_pong (void(*func)(char *servname, char *who))
 
void pmodule_cmd_join (void(*func)(char *user, char *channel, time_t chantime))
 
void pmodule_cmd_unsqline (void(*func)(char *user))
 
void pmodule_cmd_invite (void(*func)(char *source, char *chan, char *nick))
 
void pmodule_cmd_part (void(*func)(char *nick, char *chan, char *buf))
 
void pmodule_cmd_391 (void(*func)(char *source, char *timestr))
 
void pmodule_cmd_250 (void(*func)(char *buf))
 
void pmodule_cmd_307 (void(*func)(char *buf))
 
void pmodule_cmd_311 (void(*func)(char *buf))
 
void pmodule_cmd_312 (void(*func)(char *buf))
 
void pmodule_cmd_317 (void(*func)(char *buf))
 
void pmodule_cmd_219 (void(*func)(char *source, char *letter))
 
void pmodule_cmd_401 (void(*func)(char *source, char *who))
 
void pmodule_cmd_318 (void(*func)(char *source, char *who))
 
void pmodule_cmd_242 (void(*func)(char *buf))
 
void pmodule_cmd_243 (void(*func)(char *buf))
 
void pmodule_cmd_211 (void(*func)(char *buf))
 
void pmodule_cmd_global (void(*func)(char *source, char *buf))
 
void pmodule_cmd_global_legacy (void(*func)(char *source, char *fmt))
 
void pmodule_cmd_sqline (void(*func)(char *mask, char *reason))
 
void pmodule_cmd_squit (void(*func)(char *servname, char *message))
 
void pmodule_cmd_svso (void(*func)(char *source, char *nick, char *flag))
 
void pmodule_cmd_chg_nick (void(*func)(char *oldnick, char *newnick))
 
void pmodule_cmd_svsnick (void(*func)(char *source, char *guest, time_t when))
 
void pmodule_cmd_vhost_on (void(*func)(char *nick, char *vIdent, char *vhost))
 
void pmodule_cmd_connect (void(*func)(int servernum))
 
void pmodule_cmd_bob (void(*func)())
 
void pmodule_cmd_svshold (void(*func)(char *nick))
 
void pmodule_cmd_release_svshold (void(*func)(char *nick))
 
void pmodule_cmd_unsgline (void(*func)(char *mask))
 
void pmodule_cmd_unszline (void(*func)(char *mask))
 
void pmodule_cmd_szline (void(*func)(char *mask, char *reason, char *whom))
 
void pmodule_cmd_sgline (void(*func)(char *mask, char *reason))
 
void pmodule_cmd_unban (void(*func)(char *name, char *nick))
 
void pmodule_cmd_svsmode_chan (void(*func)(char *name, char *mode, char *nick))
 
void pmodule_cmd_svid_umode (void(*func)(char *nick, time_t ts))
 
void pmodule_cmd_nc_change (void(*func)(User *u))
 
void pmodule_cmd_svid_umode2 (void(*func)(User *u, char *ts))
 
void pmodule_cmd_svid_umode3 (void(*func)(User *u, char *ts))
 
void pmodule_cmd_ctcp (void(*func)(char *source, char *dest, char *buf))
 
void pmodule_cmd_svsjoin (void(*func)(char *source, char *nick, char *chan, char *param))
 
void pmodule_cmd_svspart (void(*func)(char *source, char *nick, char *chan))
 
void pmodule_cmd_swhois (void(*func)(char *source, char *who, char *mask))
 
void pmodule_cmd_eob (void(*func)())
 
void pmodule_cmd_jupe (void(*func)(char *jserver, char *who, char *reason))
 
void pmodule_set_umode (void(*func)(User *user, int ac, char **av))
 
void pmodule_valid_nick (int(*func)(char *nick))
 
void pmodule_valid_chan (int(*func)(char *chan))
 
void pmodule_flood_mode_check (int(*func)(char *value))
 
void pmodule_ircd_var (IRCDVar *ircdvar)
 
void pmodule_ircd_cap (IRCDCAPAB *cap)
 
void pmodule_ircd_version (char *version)
 
void pmodule_ircd_cbmodeinfos (CBModeInfo *modeinfos)
 
void pmodule_ircd_cumodes (CUMode modes[128])
 
void pmodule_ircd_flood_mode_char_set (char *mode)
 
void pmodule_ircd_flood_mode_char_remove (char *mode)
 
void pmodule_ircd_cbmodes (CBMode modes[128])
 
void pmodule_ircd_cmmodes (CMMode modes[128])
 
void pmodule_ircd_csmodes (char mode[128])
 
void pmodule_jointhrottle_mode_check (int(*func)(char *value))
 
void pmodule_ircd_useTSMode (int use)
 
void pmodule_invis_umode (int mode)
 
void pmodule_oper_umode (int mode)
 
void pmodule_invite_cmode (int mode)
 
void pmodule_secret_cmode (int mode)
 
void pmodule_private_cmode (int mode)
 
void pmodule_key_mode (int mode)
 
void pmodule_limit_mode (int mode)
 
void pmodule_permchan_mode (int mode)
 
int anope_get_invis_mode ()
 
int anope_get_oper_mode ()
 
int anope_get_invite_mode ()
 
int anope_get_secret_mode ()
 
int anope_get_private_mode ()
 
int anope_get_key_mode ()
 
int anope_get_limit_mode ()
 
int anope_get_permchan_mode ()
 

Variables

IRCDProto ircdproto
 
IRCDModes ircd_modes
 
IRCDVarircd
 
IRCDCAPABircdcap
 
char * version_protocol
 
CBModeInfocbmodeinfos
 
CUMode cumodes [128]
 
char * flood_mode_char_set
 
char * flood_mode_char_remove
 
CBMode cbmodes [128]
 
CMMode cmmodes [128]
 
char csmodes [128]
 
int UseTSMODE
 

Function Documentation

void anope_cmd_211 ( const char *  fmt,
  ... 
)

Definition at line 493 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_211, and vsnprintf().

Referenced by m_stats().

void anope_cmd_219 ( char *  source,
char *  letter 
)

Definition at line 452 of file ircd.c.

References ircd_proto_::ircd_cmd_219.

Referenced by m_stats().

void anope_cmd_242 ( const char *  fmt,
  ... 
)

Definition at line 467 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_242, and vsnprintf().

Referenced by m_stats().

void anope_cmd_243 ( const char *  fmt,
  ... 
)

Definition at line 480 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_243, and vsnprintf().

Referenced by m_stats().

void anope_cmd_250 ( const char *  fmt,
  ... 
)

Definition at line 387 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_250, and vsnprintf().

Referenced by m_stats().

void anope_cmd_307 ( const char *  fmt,
  ... 
)

Definition at line 400 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_307, and vsnprintf().

Referenced by m_whois().

void anope_cmd_311 ( const char *  fmt,
  ... 
)

Definition at line 413 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_311, and vsnprintf().

Referenced by m_whois().

void anope_cmd_312 ( const char *  fmt,
  ... 
)

Definition at line 426 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_312, and vsnprintf().

Referenced by m_whois().

void anope_cmd_317 ( const char *  fmt,
  ... 
)

Definition at line 439 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_317, and vsnprintf().

Referenced by m_whois().

void anope_cmd_318 ( char *  source,
char *  who 
)

Definition at line 462 of file ircd.c.

References ircd_proto_::ircd_cmd_318.

Referenced by m_whois().

void anope_cmd_351 ( char *  source)

Definition at line 329 of file ircd.c.

References ircd_proto_::ircd_cmd_351.

Referenced by m_version().

void anope_cmd_372 ( char *  source,
char *  msg 
)

Definition at line 180 of file ircd.c.

References ircd_proto_::ircd_cmd_372.

Referenced by m_motd().

void anope_cmd_372_error ( char *  source)

Definition at line 185 of file ircd.c.

References ircd_proto_::ircd_cmd_372_error.

Referenced by m_motd().

void anope_cmd_375 ( char *  source)

Definition at line 190 of file ircd.c.

References ircd_proto_::ircd_cmd_375.

Referenced by m_motd().

void anope_cmd_376 ( char *  source)

Definition at line 195 of file ircd.c.

References ircd_proto_::ircd_cmd_376.

Referenced by m_motd().

void anope_cmd_391 ( char *  source,
char *  timestr 
)

Definition at line 382 of file ircd.c.

References ircd_proto_::ircd_cmd_391.

Referenced by m_time().

void anope_cmd_401 ( char *  source,
char *  who 
)

Definition at line 457 of file ircd.c.

References ircd_proto_::ircd_cmd_401.

Referenced by m_whois().

void anope_cmd_action ( char *  source,
char *  dest,
const char *  fmt,
  ... 
)

Definition at line 275 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_privmsg, snprintf(), and vsnprintf().

Referenced by do_act().

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

Definition at line 156 of file ircd.c.

References ircd_proto_::ircd_cmd_akill.

Referenced by add_akill(), and check_akill().

void anope_cmd_bob ( )

Definition at line 559 of file ircd.c.

References ircd_proto_::ircd_cmd_bob.

Referenced by init_tertiary().

void anope_cmd_bot_chan_mode ( char *  nick,
char *  chan 
)

Definition at line 324 of file ircd.c.

References ircd_proto_::ircd_cmd_bot_chan_mode.

Referenced by bot_join().

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

Definition at line 224 of file ircd.c.

References ircd_proto_::ircd_cmd_bot_nick.

Referenced by addClient(), do_bot(), and introduce_user().

void anope_cmd_chg_nick ( char *  oldnick,
char *  newnick 
)

Definition at line 539 of file ircd.c.

References ircd_proto_::ircd_cmd_chg_nick.

Referenced by do_bot().

void anope_cmd_connect ( int  servernum)

Definition at line 554 of file ircd.c.

References ircd_proto_::ircd_cmd_connect.

Referenced by init_secondary().

void anope_cmd_ctcp ( char *  source,
char *  dest,
const char *  fmt,
  ... 
)
void anope_cmd_eob ( )

Definition at line 639 of file ircd.c.

References ircd_proto_::ircd_cmd_eob.

Referenced by init_tertiary().

void anope_cmd_global ( char *  source,
const char *  fmt,
  ... 
)
void anope_cmd_global_legacy ( char *  source,
char *  fmt 
)

Definition at line 519 of file ircd.c.

References ircd_proto_::ircd_cmd_global_legacy.

Referenced by wallops().

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

Definition at line 205 of file ircd.c.

References ircd_proto_::ircd_cmd_guest_nick.

Referenced by cancel_user().

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

Definition at line 362 of file ircd.c.

References ircd_proto_::ircd_cmd_invite.

Referenced by do_invite().

void anope_cmd_join ( char *  user,
char *  channel,
time_t  chantime 
)
void anope_cmd_jupe ( char *  jserver,
char *  who,
char *  reason 
)

Definition at line 656 of file ircd.c.

References ircd_proto_::ircd_cmd_jupe.

Referenced by do_jupe().

void anope_cmd_kick ( char *  source,
char *  chan,
char *  user,
const char *  fmt,
  ... 
)
void anope_cmd_mode ( char *  source,
char *  dest,
const char *  fmt,
  ... 
)
void anope_cmd_nc_change ( User u)

Definition at line 609 of file ircd.c.

References ircd_proto_::ircd_cmd_nc_change.

Referenced by do_nick().

void anope_cmd_nick ( char *  nick,
char *  name,
char *  modes 
)

Definition at line 200 of file ircd.c.

References ircd_proto_::ircd_cmd_nick.

Referenced by introduce_user().

void anope_cmd_notice ( char *  source,
char *  dest,
const char *  fmt,
  ... 
)

Definition at line 257 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_notice, and vsnprintf().

Referenced by m_privmsg().

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

Definition at line 270 of file ircd.c.

References ircd_proto_::ircd_cmd_notice2.

Referenced by notice(), notice_help(), notice_lang(), notice_list(), and notice_user().

void anope_cmd_notice_ops ( char *  source,
char *  dest,
const char *  fmt,
  ... 
)

Definition at line 244 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_notice_ops, and vsnprintf().

Referenced by bot_join().

void anope_cmd_part ( char *  nick,
char *  chan,
const char *  fmt,
  ... 
)
void anope_cmd_pong ( char *  servname,
char *  who 
)

Definition at line 347 of file ircd.c.

References ircd_proto_::ircd_cmd_pong.

Referenced by save_databases().

void anope_cmd_privmsg ( char *  source,
char *  dest,
const char *  fmt,
  ... 
)
void anope_cmd_privmsg2 ( char *  source,
char *  dest,
char *  msg 
)

Definition at line 309 of file ircd.c.

References ircd_proto_::ircd_cmd_privmsg2.

Referenced by notice(), notice_help(), notice_lang(), notice_user(), and privmsg().

void anope_cmd_quit ( char *  source,
const char *  fmt,
  ... 
)

Definition at line 334 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_quit, and vsnprintf().

Referenced by delClient(), do_bot(), and release().

void anope_cmd_release_svshold ( char *  nick)

Definition at line 569 of file ircd.c.

References ircd_proto_::ircd_cmd_release_svshold.

Referenced by release().

void anope_cmd_remove_akill ( char *  user,
char *  host 
)

Definition at line 140 of file ircd.c.

References ircd_proto_::ircd_cmd_remove_akill.

Referenced by free_akill_entry(), and load_old_akill().

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

Definition at line 314 of file ircd.c.

References ircd_proto_::ircd_cmd_serv_notice.

Referenced by notice_server().

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

Definition at line 319 of file ircd.c.

References ircd_proto_::ircd_cmd_serv_privmsg.

Referenced by notice_server().

void anope_cmd_sgline ( char *  mask,
char *  reason 
)

Definition at line 589 of file ircd.c.

References ircd_proto_::ircd_cmd_sgline.

Referenced by add_sgline(), and check_sgline().

void anope_cmd_sqline ( char *  mask,
char *  reason 
)

Definition at line 524 of file ircd.c.

References ircd_proto_::ircd_cmd_sqline.

Referenced by do_bot(), do_forbid(), and sqline().

void anope_cmd_squit ( char *  servname,
char *  message 
)

Definition at line 529 of file ircd.c.

References ircd_proto_::ircd_cmd_squit.

Referenced by do_squit(), main(), services_restart(), and services_shutdown().

void anope_cmd_svid_umode ( char *  nick,
time_t  ts 
)

Definition at line 604 of file ircd.c.

References ircd_proto_::ircd_cmd_svid_umode.

Referenced by do_nick().

void anope_cmd_svid_umode2 ( User u,
char *  ts 
)

Definition at line 614 of file ircd.c.

References ircd_proto_::ircd_cmd_svid_umode2.

Referenced by do_nick().

void anope_cmd_svid_umode3 ( User u,
char *  ts 
)

Definition at line 619 of file ircd.c.

References ircd_proto_::ircd_cmd_svid_umode3.

Referenced by do_nick().

void anope_cmd_svshold ( char *  nick)

Definition at line 564 of file ircd.c.

References ircd_proto_::ircd_cmd_svshold.

Referenced by cancel_user().

void anope_cmd_svsjoin ( char *  source,
char *  nick,
char *  chan,
char *  param 
)

Definition at line 624 of file ircd.c.

References ircd_proto_::ircd_cmd_svsjoin.

void anope_cmd_svskill ( char *  source,
char *  user,
const char *  fmt,
  ... 
)

Definition at line 162 of file ircd.c.

References BUFSIZE, ircd_proto_::ircd_cmd_svskill, and vsnprintf().

Referenced by cancel_user(), check_sgline(), and kill_user().

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

Definition at line 175 of file ircd.c.

References ircd_proto_::ircd_cmd_svsmode.

Referenced by common_svsmode().

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

Definition at line 599 of file ircd.c.

References ircd_proto_::ircd_cmd_svsmode_chan.

Referenced by do_clear(), and do_clearmodes().

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

Definition at line 544 of file ircd.c.

References ircd_proto_::ircd_cmd_svsnick.

Referenced by collide(), and do_svsnick().

void anope_cmd_svsnoop ( char *  server,
int  set 
)

Definition at line 135 of file ircd.c.

References ircd_proto_::ircd_cmd_svsnoop.

Referenced by do_noop().

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

Definition at line 534 of file ircd.c.

References ircd_proto_::ircd_cmd_svso.

Referenced by do_operoline().

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

Definition at line 629 of file ircd.c.

References ircd_proto_::ircd_cmd_svspart.

void anope_cmd_swhois ( char *  source,
char *  who,
char *  mask 
)

Definition at line 634 of file ircd.c.

References ircd_proto_::ircd_cmd_swhois.

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

Definition at line 584 of file ircd.c.

References ircd_proto_::ircd_cmd_szline.

Referenced by add_szline(), and check_szline().

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

Definition at line 145 of file ircd.c.

References ircd_proto_::ircd_cmd_topic.

Referenced by check_topiclock(), do_cs_topic(), my_cs_appendtopic(), and restore_topic().

void anope_cmd_unban ( char *  name,
char *  nick 
)

Definition at line 594 of file ircd.c.

References ircd_proto_::ircd_cmd_unban.

void anope_cmd_unsgline ( char *  mask)

Definition at line 574 of file ircd.c.

References ircd_proto_::ircd_cmd_unsgline.

Referenced by free_sgline_entry().

void anope_cmd_unsqline ( char *  user)

Definition at line 357 of file ircd.c.

References ircd_proto_::ircd_cmd_unsqline.

Referenced by do_bot(), do_drop(), and free_sqline_entry().

void anope_cmd_unszline ( char *  mask)

Definition at line 579 of file ircd.c.

References ircd_proto_::ircd_cmd_unszline.

Referenced by free_szline_entry().

void anope_cmd_vhost_off ( User u)

Definition at line 151 of file ircd.c.

References ircd_proto_::ircd_cmd_vhost_off.

Referenced by do_off().

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

Definition at line 549 of file ircd.c.

References ircd_proto_::ircd_cmd_vhost_on.

Referenced by do_on(), and do_on_id().

int anope_flood_mode_check ( char *  value)

Definition at line 644 of file ircd.c.

References ircd_proto_::ircd_flood_mode_check.

Referenced by cs_set_flood().

int anope_get_invis_mode ( )

Definition at line 1211 of file ircd.c.

References ircd_modes_::user_invis.

Referenced by do_userlist().

int anope_get_invite_mode ( )

Definition at line 1221 of file ircd.c.

References ircd_modes_::chan_invite.

Referenced by bot_join(), defconParseModeString(), and do_set_mlock().

int anope_get_key_mode ( )

Definition at line 1236 of file ircd.c.

References ircd_modes_::chan_key.

Referenced by cs_set_key().

int anope_get_limit_mode ( )

Definition at line 1241 of file ircd.c.

References ircd_modes_::chan_limit.

Referenced by cs_set_limit(), defconParseModeString(), and do_set_mlock().

int anope_get_oper_mode ( )

Definition at line 1216 of file ircd.c.

References ircd_modes_::user_oper.

Referenced by is_oper().

int anope_get_permchan_mode ( )

Definition at line 1246 of file ircd.c.

References ircd_modes_::chan_perm.

Referenced by chan_deluser().

int anope_get_private_mode ( )

Definition at line 1231 of file ircd.c.

References ircd_modes_::chan_private.

Referenced by do_chanlist().

int anope_get_secret_mode ( )

Definition at line 1226 of file ircd.c.

References ircd_modes_::chan_secret.

Referenced by do_chanlist(), and do_info().

int anope_jointhrottle_mode_check ( char *  value)

Definition at line 649 of file ircd.c.

References ircd_proto_::ircd_jointhrottle_mode_check, and ircdvars_::jmode.

Referenced by cs_set_throttle().

int anope_set_mod_current_buffer ( int  ac,
char **  av 
)

Definition at line 120 of file ircd.c.

References ircd_proto_::ircd_set_mod_current_buffer.

Referenced by process().

void anope_set_umode ( User user,
int  ac,
char **  av 
)
int anope_valid_chan ( char *  chan)

Definition at line 666 of file ircd.c.

References ircd_proto_::ircd_valid_chan.

Referenced by do_forbid(), and do_register().

int anope_valid_nick ( char *  nick)

Definition at line 661 of file ircd.c.

References ircd_proto_::ircd_valid_nick.

Referenced by do_bot(), do_forbid(), do_group(), and do_register().

void initIrcdProto ( )

Initiate a protocol struct ready for use

Definition at line 38 of file ircd.c.

References ircd_proto_::ircd_cmd_211, ircd_proto_::ircd_cmd_219, ircd_proto_::ircd_cmd_242, ircd_proto_::ircd_cmd_243, ircd_proto_::ircd_cmd_250, ircd_proto_::ircd_cmd_307, ircd_proto_::ircd_cmd_311, ircd_proto_::ircd_cmd_312, ircd_proto_::ircd_cmd_317, ircd_proto_::ircd_cmd_318, ircd_proto_::ircd_cmd_351, ircd_proto_::ircd_cmd_372, ircd_proto_::ircd_cmd_372_error, ircd_proto_::ircd_cmd_375, ircd_proto_::ircd_cmd_376, ircd_proto_::ircd_cmd_391, ircd_proto_::ircd_cmd_401, ircd_proto_::ircd_cmd_akill, ircd_proto_::ircd_cmd_bob, ircd_proto_::ircd_cmd_bot_chan_mode, ircd_proto_::ircd_cmd_bot_nick, ircd_proto_::ircd_cmd_chg_nick, ircd_proto_::ircd_cmd_connect, ircd_proto_::ircd_cmd_ctcp, ircd_proto_::ircd_cmd_eob, ircd_proto_::ircd_cmd_global, ircd_proto_::ircd_cmd_global_legacy, ircd_proto_::ircd_cmd_guest_nick, ircd_proto_::ircd_cmd_invite, ircd_proto_::ircd_cmd_join, ircd_proto_::ircd_cmd_jupe, ircd_proto_::ircd_cmd_kick, ircd_proto_::ircd_cmd_mode, ircd_proto_::ircd_cmd_nc_change, ircd_proto_::ircd_cmd_nick, ircd_proto_::ircd_cmd_notice, ircd_proto_::ircd_cmd_notice2, ircd_proto_::ircd_cmd_notice_ops, ircd_proto_::ircd_cmd_part, ircd_proto_::ircd_cmd_pong, ircd_proto_::ircd_cmd_privmsg, ircd_proto_::ircd_cmd_privmsg2, ircd_proto_::ircd_cmd_quit, ircd_proto_::ircd_cmd_release_svshold, ircd_proto_::ircd_cmd_remove_akill, ircd_proto_::ircd_cmd_serv_notice, ircd_proto_::ircd_cmd_serv_privmsg, ircd_proto_::ircd_cmd_sgline, ircd_proto_::ircd_cmd_sqline, ircd_proto_::ircd_cmd_squit, ircd_proto_::ircd_cmd_svid_umode, ircd_proto_::ircd_cmd_svid_umode2, ircd_proto_::ircd_cmd_svid_umode3, ircd_proto_::ircd_cmd_svshold, ircd_proto_::ircd_cmd_svsjoin, ircd_proto_::ircd_cmd_svskill, ircd_proto_::ircd_cmd_svsmode, ircd_proto_::ircd_cmd_svsmode_chan, ircd_proto_::ircd_cmd_svsnick, ircd_proto_::ircd_cmd_svsnoop, ircd_proto_::ircd_cmd_svso, ircd_proto_::ircd_cmd_svspart, ircd_proto_::ircd_cmd_swhois, ircd_proto_::ircd_cmd_szline, ircd_proto_::ircd_cmd_topic, ircd_proto_::ircd_cmd_unban, ircd_proto_::ircd_cmd_unsgline, ircd_proto_::ircd_cmd_unsqline, ircd_proto_::ircd_cmd_unszline, ircd_proto_::ircd_cmd_vhost_off, ircd_proto_::ircd_cmd_vhost_on, ircd_proto_::ircd_flood_mode_check, ircd_proto_::ircd_jointhrottle_mode_check, ircd_proto_::ircd_set_mod_current_buffer, ircd_proto_::ircd_set_umode, ircd_proto_::ircd_valid_chan, and ircd_proto_::ircd_valid_nick.

void pmodule_cmd_211 ( void(*)(char *buf)  func)

Definition at line 924 of file ircd.c.

References ircd_proto_::ircd_cmd_211.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_219 ( void(*)(char *source, char *letter)  func)

Definition at line 899 of file ircd.c.

References ircd_proto_::ircd_cmd_219.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_242 ( void(*)(char *buf)  func)

Definition at line 914 of file ircd.c.

References ircd_proto_::ircd_cmd_242.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_243 ( void(*)(char *buf)  func)

Definition at line 919 of file ircd.c.

References ircd_proto_::ircd_cmd_243.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_250 ( void(*)(char *buf)  func)

Definition at line 874 of file ircd.c.

References ircd_proto_::ircd_cmd_250.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_307 ( void(*)(char *buf)  func)

Definition at line 879 of file ircd.c.

References ircd_proto_::ircd_cmd_307.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_311 ( void(*)(char *buf)  func)

Definition at line 884 of file ircd.c.

References ircd_proto_::ircd_cmd_311.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_312 ( void(*)(char *buf)  func)

Definition at line 889 of file ircd.c.

References ircd_proto_::ircd_cmd_312.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_317 ( void(*)(char *buf)  func)

Definition at line 894 of file ircd.c.

References ircd_proto_::ircd_cmd_317.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_318 ( void(*)(char *source, char *who)  func)

Definition at line 909 of file ircd.c.

References ircd_proto_::ircd_cmd_318.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_351 ( void(*)(char *source)  func)

Definition at line 832 of file ircd.c.

References ircd_proto_::ircd_cmd_351.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_372 ( void(*)(char *source, char *msg)  func)

Definition at line 736 of file ircd.c.

References ircd_proto_::ircd_cmd_372.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_372_error ( void(*)(char *source)  func)

Definition at line 741 of file ircd.c.

References ircd_proto_::ircd_cmd_372_error.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_375 ( void(*)(char *source)  func)

Definition at line 746 of file ircd.c.

References ircd_proto_::ircd_cmd_375.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_376 ( void(*)(char *source)  func)

Definition at line 751 of file ircd.c.

References ircd_proto_::ircd_cmd_376.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_391 ( void(*)(char *source, char *timestr)  func)

Definition at line 869 of file ircd.c.

References ircd_proto_::ircd_cmd_391.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_401 ( void(*)(char *source, char *who)  func)

Definition at line 904 of file ircd.c.

References ircd_proto_::ircd_cmd_401.

Referenced by moduleAddAnopeCmds().

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

Definition at line 718 of file ircd.c.

References ircd_proto_::ircd_cmd_akill.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_bob ( void(*)()  func)

Definition at line 976 of file ircd.c.

References ircd_proto_::ircd_cmd_bob.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_bot_chan_mode ( void(*)(char *nick, char *chan)  func)

Definition at line 827 of file ircd.c.

References ircd_proto_::ircd_cmd_bot_chan_mode.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_bot_nick ( void(*)(char *nick, char *user, char *host, char *real, char *modes)  func)

Definition at line 773 of file ircd.c.

References ircd_proto_::ircd_cmd_bot_nick.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_chg_nick ( void(*)(char *oldnick, char *newnick)  func)

Definition at line 954 of file ircd.c.

References ircd_proto_::ircd_cmd_chg_nick.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_connect ( void(*)(int servernum func)

Definition at line 971 of file ircd.c.

References ircd_proto_::ircd_cmd_connect.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_ctcp ( void(*)(char *source, char *dest, char *buf)  func)

Definition at line 1043 of file ircd.c.

References ircd_proto_::ircd_cmd_ctcp.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_eob ( void(*)()  func)

Definition at line 1066 of file ircd.c.

References ircd_proto_::ircd_cmd_eob.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_global ( void(*)(char *source, char *buf)  func)

Definition at line 929 of file ircd.c.

References ircd_proto_::ircd_cmd_global.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_global_legacy ( void(*)(char *source, char *fmt)  func)

Definition at line 934 of file ircd.c.

References ircd_proto_::ircd_cmd_global_legacy.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_guest_nick ( void(*)(char *nick, char *user, char *host, char *real, char *modes)  func)

Definition at line 761 of file ircd.c.

References ircd_proto_::ircd_cmd_guest_nick.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_invite ( void(*)(char *source, char *chan, char *nick)  func)

Definition at line 859 of file ircd.c.

References ircd_proto_::ircd_cmd_invite.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_join ( void(*)(char *user, char *channel, time_t chantime)  func)

Definition at line 848 of file ircd.c.

References ircd_proto_::ircd_cmd_join.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_jupe ( void(*)(char *jserver, char *who, char *reason)  func)

Definition at line 1072 of file ircd.c.

References ircd_proto_::ircd_cmd_jupe.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_kick ( void(*)(char *source, char *chan, char *user, char *buf)  func)

Definition at line 780 of file ircd.c.

References ircd_proto_::ircd_cmd_kick.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_mode ( void(*)(char *source, char *dest, char *buf)  func)

Definition at line 768 of file ircd.c.

References ircd_proto_::ircd_cmd_mode.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_nc_change ( void(*)(User *u)  func)

Definition at line 1028 of file ircd.c.

References ircd_proto_::ircd_cmd_nc_change.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_nick ( void(*)(char *nick, char *name, char *modes)  func)

Definition at line 756 of file ircd.c.

References ircd_proto_::ircd_cmd_nick.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_notice ( void(*)(char *source, char *dest, char *buf)  func)

Definition at line 792 of file ircd.c.

References ircd_proto_::ircd_cmd_notice.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_notice2 ( void(*)(char *source, char *dest, char *msg)  func)

Definition at line 798 of file ircd.c.

References ircd_proto_::ircd_cmd_notice2.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_notice_ops ( void(*)(char *source, char *dest, char *buf)  func)

Definition at line 787 of file ircd.c.

References ircd_proto_::ircd_cmd_notice_ops.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_part ( void(*)(char *nick, char *chan, char *buf)  func)

Definition at line 864 of file ircd.c.

References ircd_proto_::ircd_cmd_part.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_pong ( void(*)(char *servname, char *who)  func)

Definition at line 842 of file ircd.c.

References ircd_proto_::ircd_cmd_pong.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_privmsg ( void(*)(char *source, char *dest, char *buf)  func)

Definition at line 804 of file ircd.c.

References ircd_proto_::ircd_cmd_privmsg.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_privmsg2 ( void(*)(char *source, char *dest, char *msg)  func)

Definition at line 810 of file ircd.c.

References ircd_proto_::ircd_cmd_privmsg2.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_quit ( void(*)(char *source, char *buf)  func)

Definition at line 837 of file ircd.c.

References ircd_proto_::ircd_cmd_quit.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_release_svshold ( void(*)(char *nick)  func)

Definition at line 986 of file ircd.c.

References ircd_proto_::ircd_cmd_release_svshold.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_remove_akill ( void(*)(char *user, char *host)  func)

Definition at line 701 of file ircd.c.

References ircd_proto_::ircd_cmd_remove_akill.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_serv_notice ( void(*)(char *source, char *dest, char *msg)  func)

Definition at line 816 of file ircd.c.

References ircd_proto_::ircd_cmd_serv_notice.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_serv_privmsg ( void(*)(char *source, char *dest, char *msg)  func)

Definition at line 821 of file ircd.c.

References ircd_proto_::ircd_cmd_serv_privmsg.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_sgline ( void(*)(char *mask, char *reason)  func)

Definition at line 1007 of file ircd.c.

References ircd_proto_::ircd_cmd_sgline.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_sqline ( void(*)(char *mask, char *reason)  func)

Definition at line 939 of file ircd.c.

References ircd_proto_::ircd_cmd_sqline.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_squit ( void(*)(char *servname, char *message)  func)

Definition at line 944 of file ircd.c.

References ircd_proto_::ircd_cmd_squit.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svid_umode ( void(*)(char *nick, time_t ts)  func)

Definition at line 1023 of file ircd.c.

References ircd_proto_::ircd_cmd_svid_umode.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svid_umode2 ( void(*)(User *u, char *ts)  func)

Definition at line 1033 of file ircd.c.

References ircd_proto_::ircd_cmd_svid_umode2.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svid_umode3 ( void(*)(User *u, char *ts)  func)

Definition at line 1038 of file ircd.c.

References ircd_proto_::ircd_cmd_svid_umode3.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svshold ( void(*)(char *nick)  func)

Definition at line 981 of file ircd.c.

References ircd_proto_::ircd_cmd_svshold.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svsjoin ( void(*)(char *source, char *nick, char *chan, char *param)  func)

Definition at line 1048 of file ircd.c.

References ircd_proto_::ircd_cmd_svsjoin.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svskill ( void(*)(char *source, char *user, char *buf)  func)

Definition at line 726 of file ircd.c.

References ircd_proto_::ircd_cmd_svskill.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svsmode ( void(*)(User *u, int ac, char **av)  func)

Definition at line 731 of file ircd.c.

References ircd_proto_::ircd_cmd_svsmode.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svsmode_chan ( void(*)(char *name, char *mode, char *nick)  func)

Definition at line 1018 of file ircd.c.

References ircd_proto_::ircd_cmd_svsmode_chan.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svsnick ( void(*)(char *source, char *guest, time_t when)  func)

Definition at line 960 of file ircd.c.

References ircd_proto_::ircd_cmd_svsnick.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svsnoop ( void(*)(char *server, int set)  func)

Definition at line 696 of file ircd.c.

References ircd_proto_::ircd_cmd_svsnoop.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svso ( void(*)(char *source, char *nick, char *flag)  func)

Definition at line 949 of file ircd.c.

References ircd_proto_::ircd_cmd_svso.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_svspart ( void(*)(char *source, char *nick, char *chan)  func)

Definition at line 1056 of file ircd.c.

References ircd_proto_::ircd_cmd_svspart.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_swhois ( void(*)(char *source, char *who, char *mask)  func)

Definition at line 1061 of file ircd.c.

References ircd_proto_::ircd_cmd_swhois.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_szline ( void(*)(char *mask, char *reason, char *whom)  func)

Definition at line 1002 of file ircd.c.

References ircd_proto_::ircd_cmd_szline.

Referenced by moduleAddAnopeCmds().

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

Definition at line 706 of file ircd.c.

References ircd_proto_::ircd_cmd_topic.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_unban ( void(*)(char *name, char *nick)  func)

Definition at line 1012 of file ircd.c.

References ircd_proto_::ircd_cmd_unban.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_unsgline ( void(*)(char *mask)  func)

Definition at line 991 of file ircd.c.

References ircd_proto_::ircd_cmd_unsgline.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_unsqline ( void(*)(char *user)  func)

Definition at line 853 of file ircd.c.

References ircd_proto_::ircd_cmd_unsqline.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_unszline ( void(*)(char *mask)  func)

Definition at line 996 of file ircd.c.

References ircd_proto_::ircd_cmd_unszline.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_vhost_off ( void(*)(User *u)  func)

Definition at line 713 of file ircd.c.

References ircd_proto_::ircd_cmd_vhost_off.

Referenced by moduleAddAnopeCmds().

void pmodule_cmd_vhost_on ( void(*)(char *nick, char *vIdent, char *vhost)  func)

Definition at line 966 of file ircd.c.

References ircd_proto_::ircd_cmd_vhost_on.

Referenced by moduleAddAnopeCmds().

void pmodule_flood_mode_check ( int(*)(char *value)  func)

Definition at line 1092 of file ircd.c.

References ircd_proto_::ircd_flood_mode_check.

Referenced by moduleAddAnopeCmds().

void pmodule_invis_umode ( int  mode)

mode stuff

Definition at line 1171 of file ircd.c.

References ircd_modes_::user_invis.

Referenced by AnopeInit().

void pmodule_invite_cmode ( int  mode)

Definition at line 1181 of file ircd.c.

References ircd_modes_::chan_invite.

Referenced by AnopeInit().

void pmodule_ircd_cap ( IRCDCAPAB cap)

Definition at line 1102 of file ircd.c.

Referenced by AnopeInit().

void pmodule_ircd_cbmodeinfos ( CBModeInfo modeinfos)

Definition at line 1112 of file ircd.c.

Referenced by anope_event_capab(), and AnopeInit().

void pmodule_ircd_cbmodes ( CBMode  modes[128])

Definition at line 1135 of file ircd.c.

Referenced by anope_event_capab(), and AnopeInit().

void pmodule_ircd_cmmodes ( CMMode  modes[128])

Definition at line 1143 of file ircd.c.

Referenced by anope_event_capab(), and AnopeInit().

void pmodule_ircd_csmodes ( char  mode[128])

Definition at line 1151 of file ircd.c.

References csmodes.

Referenced by anope_event_capab(), and AnopeInit().

void pmodule_ircd_cumodes ( CUMode  modes[128])

Definition at line 1117 of file ircd.c.

Referenced by anope_event_capab(), and AnopeInit().

void pmodule_ircd_flood_mode_char_remove ( char *  mode)

Definition at line 1130 of file ircd.c.

References flood_mode_char_remove, and sstrdup().

Referenced by anope_event_capab(), and AnopeInit().

void pmodule_ircd_flood_mode_char_set ( char *  mode)

Definition at line 1125 of file ircd.c.

References flood_mode_char_set, and sstrdup().

Referenced by anope_event_capab(), and AnopeInit().

void pmodule_ircd_useTSMode ( int  use)

Definition at line 1164 of file ircd.c.

References UseTSMODE.

Referenced by AnopeInit().

void pmodule_ircd_var ( IRCDVar ircdvar)

Definition at line 1097 of file ircd.c.

Referenced by AnopeInit().

void pmodule_ircd_version ( char *  version)

Definition at line 1107 of file ircd.c.

References sstrdup(), and version_protocol.

Referenced by AnopeInit().

void pmodule_jointhrottle_mode_check ( int(*)(char *value)  func)

Definition at line 1159 of file ircd.c.

References ircd_proto_::ircd_jointhrottle_mode_check.

Referenced by moduleAddAnopeCmds().

void pmodule_key_mode ( int  mode)

Definition at line 1196 of file ircd.c.

References ircd_modes_::chan_key.

Referenced by AnopeInit().

void pmodule_limit_mode ( int  mode)

Definition at line 1201 of file ircd.c.

References ircd_modes_::chan_limit.

Referenced by AnopeInit().

void pmodule_oper_umode ( int  mode)

Definition at line 1176 of file ircd.c.

References ircd_modes_::user_oper.

Referenced by AnopeInit().

void pmodule_permchan_mode ( int  mode)

Definition at line 1206 of file ircd.c.

References ircd_modes_::chan_perm.

Referenced by AnopeInit().

void pmodule_private_cmode ( int  mode)

Definition at line 1191 of file ircd.c.

References ircd_modes_::chan_private.

Referenced by AnopeInit().

void pmodule_secret_cmode ( int  mode)

Definition at line 1186 of file ircd.c.

References ircd_modes_::chan_secret.

Referenced by AnopeInit().

void pmodule_set_mod_current_buffer ( void(*)(int ac, char **av)  func)

Set routines for modules to set the prefered function for dealing with things.

Definition at line 691 of file ircd.c.

References ircd_proto_::ircd_set_mod_current_buffer.

void pmodule_set_umode ( void(*)(User *user, int ac, char **av)  func)

Definition at line 1077 of file ircd.c.

References ircd_proto_::ircd_set_umode.

Referenced by moduleAddAnopeCmds().

void pmodule_valid_chan ( int(*)(char *chan)  func)

Definition at line 1087 of file ircd.c.

References ircd_proto_::ircd_valid_chan.

Referenced by moduleAddAnopeCmds().

void pmodule_valid_nick ( int(*)(char *nick)  func)

Definition at line 1082 of file ircd.c.

References ircd_proto_::ircd_valid_nick.

Referenced by moduleAddAnopeCmds().

Variable Documentation

CBModeInfo* cbmodeinfos

Definition at line 26 of file ircd.c.

CBMode cbmodes[128]

Definition at line 30 of file ircd.c.

CMMode cmmodes[128]

Definition at line 31 of file ircd.c.

char csmodes[128]

Definition at line 32 of file ircd.c.

Referenced by pmodule_ircd_csmodes().

CUMode cumodes[128]

Definition at line 27 of file ircd.c.

char* flood_mode_char_remove

Definition at line 29 of file ircd.c.

Referenced by pmodule_ircd_flood_mode_char_remove().

char* flood_mode_char_set

Definition at line 28 of file ircd.c.

Referenced by pmodule_ircd_flood_mode_char_set().

IRCDVar* ircd

Globals we want from the protocol file

Definition at line 23 of file ircd.c.

IRCDModes ircd_modes

Definition at line 18 of file ircd.c.

IRCDCAPAB* ircdcap

Definition at line 24 of file ircd.c.

IRCDProto ircdproto

Definition at line 17 of file ircd.c.

int UseTSMODE

Definition at line 33 of file ircd.c.

Referenced by pmodule_ircd_useTSMode().

char* version_protocol

Definition at line 25 of file ircd.c.

Referenced by pmodule_ircd_version().