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

Go to the source code of this file.

Functions

void hybrid_set_umode (User *user, int ac, char **av)
 
void hybrid_cmd_notice (char *source, char *dest, char *buf)
 
void hybrid_cmd_notice2 (char *source, char *dest, char *msg)
 
void hybrid_cmd_privmsg (char *source, char *dest, char *buf)
 
void hybrid_cmd_privmsg2 (char *source, char *dest, char *msg)
 
void hybrid_cmd_serv_notice (char *source, char *dest, char *msg)
 
void hybrid_cmd_serv_privmsg (char *source, char *dest, char *msg)
 
void hybrid_cmd_global (char *source, char *buf)
 
void hybrid_cmd_global_legacy (char *source, char *fmt)
 
int anope_event_sjoin (char *source, int ac, char **av)
 
int anope_event_nick (char *source, int ac, char **av)
 
int anope_event_topic (char *source, int ac, char **av)
 
int anope_event_tburst (char *source, int ac, char **av)
 
int anope_event_436 (char *source, int ac, char **av)
 
void hybrid_cmd_sqline (char *mask, char *reason)
 
void hybrid_cmd_unsqline (char *user)
 
void hybrid_cmd_sgline (char *mask, char *reason)
 
void hybrid_cmd_unsgline (char *mask)
 
void hybrid_cmd_szline (char *mask, char *reason, char *whom)
 
void hybrid_cmd_unszline (char *mask)
 
void hybrid_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason)
 
void hybrid_cmd_remove_akill (char *user, char *host)
 
void hybrid_cmd_svsnoop (char *server, int set)
 
void hybrid_cmd_svsadmin (char *server, int set)
 
void hybrid_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when)
 
void hybrid_cmd_vhost_off (User *user)
 
void hybrid_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
 
void hybrid_cmd_join (char *user, char *channel, time_t chantime)
 
void hybrid_cmd_svskill (char *source, char *user, char *buf)
 
void hybrid_cmd_svsmode (User *u, int ac, char **av)
 
void hybrid_cmd_svinfo ()
 
void hybrid_cmd_capab ()
 
void hybrid_cmd_pass (char *pass)
 
void hybrid_cmd_server (char *servname, int hop, char *descript)
 
void hybrid_cmd_connect (int servernum)
 
void hybrid_cmd_bob ()
 
void hybrid_cmd_svsinfo ()
 
void hybrid_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void hybrid_cmd_part (char *nick, char *chan, char *buf)
 
int anope_event_ping (char *source, int ac, char **av)
 
int anope_event_away (char *source, int ac, char **av)
 
int anope_event_kill (char *source, int ac, char **av)
 
int anope_event_kick (char *source, int ac, char **av)
 
int anope_event_eob (char *source, int ac, char **av)
 
void hybrid_cmd_eob ()
 
int anope_event_join (char *source, int ac, char **av)
 
int anope_event_motd (char *source, int ac, char **av)
 
int anope_event_privmsg (char *source, int ac, char **av)
 
int anope_event_part (char *source, int ac, char **av)
 
int anope_event_whois (char *source, int ac, char **av)
 
int anope_event_server (char *source, int ac, char **av)
 
int anope_event_squit (char *source, int ac, char **av)
 
int anope_event_quit (char *source, int ac, char **av)
 
void hybrid_cmd_372 (char *source, char *msg)
 
void hybrid_cmd_372_error (char *source)
 
void hybrid_cmd_375 (char *source)
 
void hybrid_cmd_376 (char *source)
 
void hybrid_cmd_391 (char *source, char *timestr)
 
void hybrid_cmd_250 (char *buf)
 
void hybrid_cmd_307 (char *buf)
 
void hybrid_cmd_311 (char *buf)
 
void hybrid_cmd_312 (char *buf)
 
void hybrid_cmd_317 (char *buf)
 
void hybrid_cmd_219 (char *source, char *letter)
 
void hybrid_cmd_401 (char *source, char *who)
 
void hybrid_cmd_318 (char *source, char *who)
 
void hybrid_cmd_242 (char *buf)
 
void hybrid_cmd_243 (char *buf)
 
void hybrid_cmd_211 (char *buf)
 
void hybrid_cmd_mode (char *source, char *dest, char *buf)
 
void hybrid_cmd_nick (char *nick, char *name, char *mode)
 
void hybrid_cmd_kick (char *source, char *chan, char *user, char *buf)
 
void hybrid_cmd_notice_ops (char *source, char *dest, char *buf)
 
void hybrid_cmd_bot_chan_mode (char *nick, char *chan)
 
void hybrid_cmd_quit (char *source, char *buf)
 
void hybrid_cmd_pong (char *servname, char *who)
 
void hybrid_cmd_invite (char *source, char *chan, char *nick)
 
void hybrid_cmd_squit (char *servname, char *message)
 
int anope_event_mode (char *source, int ac, char **av)
 
void hybrid_cmd_351 (char *source)
 
int anope_event_capab (char *source, int ac, char **av)
 
void hybrid_cmd_svshold (char *nick)
 
void hybrid_cmd_release_svshold (char *nick)
 
void hybrid_cmd_svsnick (char *nick, char *newnick, time_t when)
 
void hybrid_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void hybrid_cmd_svso (char *source, char *nick, char *flag)
 
void hybrid_cmd_unban (char *name, char *nick)
 
void hybrid_cmd_svsmode_chan (char *name, char *mode, char *nick)
 
void hybrid_cmd_svid_umode (char *nick, time_t ts)
 
void hybrid_cmd_nc_change (User *u)
 
void hybrid_cmd_svid_umode2 (User *u, char *ts)
 
void hybrid_cmd_svid_umode3 (User *u, char *ts)
 
void hybrid_cmd_chg_nick (char *oldnick, char *newnick)
 
int anope_event_svinfo (char *source, int ac, char **av)
 
int anope_event_pass (char *source, int ac, char **av)
 
void hybrid_cmd_svsjoin (char *source, char *nick, char *chan, char *param)
 
void hybrid_cmd_svspart (char *source, char *nick, char *chan)
 
void hybrid_cmd_swhois (char *source, char *who, char *mask)
 
int anope_event_notice (char *source, int ac, char **av)
 
int anope_event_admin (char *source, int ac, char **av)
 
int anope_event_invite (char *source, int ac, char **av)
 
int hybrid_flood_mode_check (char *value)
 
int anope_event_error (char *source, int ac, char **av)
 
void hybrid_cmd_jupe (char *jserver, char *who, char *reason)
 
int hybrid_valid_nick (char *nick)
 
int hybrid_valid_chan (char *chan)
 
void hybrid_cmd_ctcp (char *source, char *dest, char *buf)
 
int hybrid_event_notice (char *source, int argc, char **argv)
 
void moduleAddIRCDMsgs (void)
 
void moduleAddAnopeCmds ()
 
int AnopeInit (int argc, char **argv)
 

Variables

IRCDVar myIrcd []
 
IRCDCAPAB myIrcdcap []
 
unsigned long umodes [128]
 
char myCsmodes [128]
 
CMMode myCmmodes [128]
 
CBMode myCbmodes [128]
 
CBModeInfo myCbmodeinfos []
 
CUMode myCumodes [128]
 

Function Documentation

int anope_event_436 ( char *  source,
int  ac,
char **  av 
)

Definition at line 631 of file hybrid.c.

References m_nickcoll(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_admin ( char *  source,
int  ac,
char **  av 
)

Definition at line 1366 of file hybrid.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_away ( char *  source,
int  ac,
char **  av 
)

Definition at line 862 of file hybrid.c.

References m_away(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_capab ( char *  source,
int  ac,
char **  av 
)

Definition at line 1206 of file hybrid.c.

References capab_parse(), MOD_CONT, myStrGetToken(), scalloc(), and srealloc().

Referenced by moduleAddIRCDMsgs().

int anope_event_eob ( char *  source,
int  ac,
char **  av 
)

Definition at line 889 of file hybrid.c.

Referenced by moduleAddIRCDMsgs().

int anope_event_error ( char *  source,
int  ac,
char **  av 
)

Definition at line 1381 of file hybrid.c.

References alog(), debug, and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_invite ( char *  source,
int  ac,
char **  av 
)

Definition at line 1371 of file hybrid.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_join ( char *  source,
int  ac,
char **  av 
)

Definition at line 909 of file hybrid.c.

References do_join(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_kick ( char *  source,
int  ac,
char **  av 
)

Definition at line 880 of file hybrid.c.

References do_kick(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_kill ( char *  source,
int  ac,
char **  av 
)

Definition at line 871 of file hybrid.c.

References m_kill(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_mode ( char *  source,
int  ac,
char **  av 
)

Definition at line 1185 of file hybrid.c.

References do_cmode(), do_umode(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_motd ( char *  source,
int  ac,
char **  av 
)

Definition at line 918 of file hybrid.c.

References m_motd(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_nick ( char *  source,
int  ac,
char **  av 
)

Definition at line 560 of file hybrid.c.

References anope_set_umode(), do_nick(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_notice ( char *  source,
int  ac,
char **  av 
)

Definition at line 1361 of file hybrid.c.

References hybrid_event_notice().

Referenced by moduleAddIRCDMsgs().

int anope_event_part ( char *  source,
int  ac,
char **  av 
)

Definition at line 936 of file hybrid.c.

References do_part(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_pass ( char *  source,
int  ac,
char **  av 
)

Definition at line 1340 of file hybrid.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_ping ( char *  source,
int  ac,
char **  av 
)

Definition at line 853 of file hybrid.c.

References hybrid_cmd_pong(), MOD_CONT, and ServerName.

Referenced by moduleAddIRCDMsgs().

int anope_event_privmsg ( char *  source,
int  ac,
char **  av 
)

Definition at line 927 of file hybrid.c.

References m_privmsg(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_quit ( char *  source,
int  ac,
char **  av 
)

Definition at line 972 of file hybrid.c.

References do_quit(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_server ( char *  source,
int  ac,
char **  av 
)

Definition at line 954 of file hybrid.c.

References do_server(), MOD_CONT, sstrdup(), stricmp(), and uplink.

Referenced by moduleAddIRCDMsgs().

int anope_event_sjoin ( char *  source,
int  ac,
char **  av 
)

Definition at line 537 of file hybrid.c.

References do_sjoin(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_squit ( char *  source,
int  ac,
char **  av 
)

Definition at line 963 of file hybrid.c.

References do_squit(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_svinfo ( char *  source,
int  ac,
char **  av 
)

Definition at line 1334 of file hybrid.c.

References MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_tburst ( char *  source,
int  ac,
char **  av 
)

Definition at line 618 of file hybrid.c.

References do_topic(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int anope_event_topic ( char *  source,
int  ac,
char **  av 
)
int anope_event_whois ( char *  source,
int  ac,
char **  av 
)

Definition at line 945 of file hybrid.c.

References m_whois(), and MOD_CONT.

Referenced by moduleAddIRCDMsgs().

int AnopeInit ( int  argc,
char **  argv 
)
void hybrid_cmd_211 ( char *  buf)

Definition at line 1107 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_219 ( char *  source,
char *  letter 
)

Definition at line 1058 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_242 ( char *  buf)

Definition at line 1089 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_243 ( char *  buf)

Definition at line 1098 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_250 ( char *  buf)

Definition at line 1013 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_307 ( char *  buf)

Definition at line 1022 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_311 ( char *  buf)

Definition at line 1031 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_312 ( char *  buf)

Definition at line 1040 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_317 ( char *  buf)

Definition at line 1049 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_318 ( char *  source,
char *  who 
)

Definition at line 1080 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_351 ( char *  source)
void hybrid_cmd_372 ( char *  source,
char *  msg 
)

Definition at line 981 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_372_error ( char *  source)

Definition at line 986 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_375 ( char *  source)

Definition at line 992 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_376 ( char *  source)

Definition at line 998 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_391 ( char *  source,
char *  timestr 
)

Definition at line 1004 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_401 ( char *  source,
char *  who 
)

Definition at line 1071 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 698 of file hybrid.c.

References s_OperServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_bob ( )

Definition at line 826 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_bot_chan_mode ( char *  nick,
char *  chan 
)

Definition at line 1147 of file hybrid.c.

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

Referenced by moduleAddAnopeCmds().

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

Definition at line 836 of file hybrid.c.

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

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_capab ( )

Definition at line 792 of file hybrid.c.

References send_cmd().

Referenced by hybrid_cmd_connect().

void hybrid_cmd_chg_nick ( char *  oldnick,
char *  newnick 
)

Definition at line 1318 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_connect ( int  servernum)
void hybrid_cmd_ctcp ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 1425 of file hybrid.c.

References normalizeBuffer(), and send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_eob ( )

Definition at line 904 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_global ( char *  source,
char *  buf 
)

Definition at line 523 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_global_legacy ( char *  source,
char *  fmt 
)

Definition at line 532 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1264 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1168 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 742 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_jupe ( char *  jserver,
char *  who,
char *  reason 
)
void hybrid_cmd_kick ( char *  source,
char *  chan,
char *  user,
char *  buf 
)

Definition at line 1131 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1115 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_nc_change ( User u)

Definition at line 1298 of file hybrid.c.

References common_svsmode().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1123 of file hybrid.c.

References EnforceQlinedNick(), send_cmd(), ServerName, ServiceHost, and ServiceUser.

Referenced by moduleAddAnopeCmds().

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

Definition at line 484 of file hybrid.c.

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

Referenced by moduleAddAnopeCmds().

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

Definition at line 495 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 1139 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 845 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_pass ( char *  pass)

Definition at line 798 of file hybrid.c.

References send_cmd().

Referenced by hybrid_cmd_connect().

void hybrid_cmd_pong ( char *  servname,
char *  who 
)

Definition at line 1162 of file hybrid.c.

References send_cmd().

Referenced by anope_event_ping(), and moduleAddAnopeCmds().

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

Definition at line 500 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 508 of file hybrid.c.

References send_cmd().

Referenced by hybrid_cmd_notice(), and moduleAddAnopeCmds().

void hybrid_cmd_quit ( char *  source,
char *  buf 
)

Definition at line 1153 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_release_svshold ( char *  nick)

Definition at line 1248 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_remove_akill ( char *  user,
char *  host 
)

Definition at line 705 of file hybrid.c.

References s_OperServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 513 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 518 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_server ( char *  servname,
int  hop,
char *  descript 
)

Definition at line 804 of file hybrid.c.

References send_cmd().

Referenced by hybrid_cmd_connect(), and hybrid_cmd_jupe().

void hybrid_cmd_sgline ( char *  mask,
char *  reason 
)

Definition at line 657 of file hybrid.c.

References s_OperServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_sqline ( char *  mask,
char *  reason 
)

Definition at line 641 of file hybrid.c.

References s_OperServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_squit ( char *  servname,
char *  message 
)

Definition at line 1177 of file hybrid.c.

References send_cmd().

Referenced by hybrid_cmd_jupe(), and moduleAddAnopeCmds().

void hybrid_cmd_svid_umode ( char *  nick,
time_t  ts 
)

Definition at line 1290 of file hybrid.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_svid_umode2 ( User u,
char *  ts 
)

Definition at line 1304 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_svid_umode3 ( User u,
char *  ts 
)

Definition at line 1309 of file hybrid.c.

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

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_svinfo ( )

Definition at line 771 of file hybrid.c.

References send_cmd().

Referenced by hybrid_cmd_connect().

void hybrid_cmd_svsadmin ( char *  server,
int  set 
)

Definition at line 715 of file hybrid.c.

References hybrid_cmd_svsnoop().

void hybrid_cmd_svshold ( char *  nick)

Definition at line 1242 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_svsinfo ( )

Definition at line 831 of file hybrid.c.

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

Definition at line 1346 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 748 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 756 of file hybrid.c.

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

Referenced by moduleAddAnopeCmds().

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

Definition at line 1283 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_svsnick ( char *  nick,
char *  newnick,
time_t  when 
)

Definition at line 1259 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_svsnoop ( char *  server,
int  set 
)

Definition at line 710 of file hybrid.c.

Referenced by hybrid_cmd_svsadmin(), and moduleAddAnopeCmds().

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

Definition at line 1271 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1351 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1356 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 673 of file hybrid.c.

References s_OperServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 720 of file hybrid.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_unban ( char *  name,
char *  nick 
)

Definition at line 1276 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_unsgline ( char *  mask)

Definition at line 665 of file hybrid.c.

References s_OperServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_unsqline ( char *  user)

Definition at line 649 of file hybrid.c.

References s_OperServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_unszline ( char *  mask)

Definition at line 681 of file hybrid.c.

References s_OperServ, and send_cmd().

Referenced by moduleAddAnopeCmds().

void hybrid_cmd_vhost_off ( User user)

Definition at line 726 of file hybrid.c.

References common_svsmode(), user_::host, notice_lang(), and s_HostServ.

Referenced by moduleAddAnopeCmds().

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

Definition at line 732 of file hybrid.c.

References common_svsmode(), and finduser().

Referenced by moduleAddAnopeCmds().

int hybrid_event_notice ( char *  source,
int  argc,
char **  argv 
)

Definition at line 1438 of file hybrid.c.

References MOD_CONT.

Referenced by anope_event_notice().

int hybrid_flood_mode_check ( char *  value)

Definition at line 1376 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

void hybrid_set_umode ( User user,
int  ac,
char **  av 
)
int hybrid_valid_chan ( char *  chan)

Definition at line 1418 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

int hybrid_valid_nick ( char *  nick)

Definition at line 1408 of file hybrid.c.

Referenced by moduleAddAnopeCmds().

void moduleAddAnopeCmds ( )

Tell anope which function we want to perform each task inside of anope. These prototypes must match what anope expects.

Definition at line 1490 of file hybrid.c.

References hybrid_cmd_211(), hybrid_cmd_219(), hybrid_cmd_242(), hybrid_cmd_243(), hybrid_cmd_250(), hybrid_cmd_307(), hybrid_cmd_311(), hybrid_cmd_312(), hybrid_cmd_317(), hybrid_cmd_318(), hybrid_cmd_351(), hybrid_cmd_372(), hybrid_cmd_372_error(), hybrid_cmd_375(), hybrid_cmd_376(), hybrid_cmd_391(), hybrid_cmd_401(), hybrid_cmd_akill(), hybrid_cmd_bob(), hybrid_cmd_bot_chan_mode(), hybrid_cmd_bot_nick(), hybrid_cmd_chg_nick(), hybrid_cmd_connect(), hybrid_cmd_ctcp(), hybrid_cmd_eob(), hybrid_cmd_global(), hybrid_cmd_global_legacy(), hybrid_cmd_guest_nick(), hybrid_cmd_invite(), hybrid_cmd_join(), hybrid_cmd_jupe(), hybrid_cmd_kick(), hybrid_cmd_mode(), hybrid_cmd_nc_change(), hybrid_cmd_nick(), hybrid_cmd_notice(), hybrid_cmd_notice2(), hybrid_cmd_notice_ops(), hybrid_cmd_part(), hybrid_cmd_pong(), hybrid_cmd_privmsg(), hybrid_cmd_privmsg2(), hybrid_cmd_quit(), hybrid_cmd_release_svshold(), hybrid_cmd_remove_akill(), hybrid_cmd_serv_notice(), hybrid_cmd_serv_privmsg(), hybrid_cmd_sgline(), hybrid_cmd_sqline(), hybrid_cmd_squit(), hybrid_cmd_svid_umode(), hybrid_cmd_svid_umode2(), hybrid_cmd_svid_umode3(), hybrid_cmd_svshold(), hybrid_cmd_svsjoin(), hybrid_cmd_svskill(), hybrid_cmd_svsmode(), hybrid_cmd_svsmode_chan(), hybrid_cmd_svsnick(), hybrid_cmd_svsnoop(), hybrid_cmd_svso(), hybrid_cmd_svspart(), hybrid_cmd_swhois(), hybrid_cmd_szline(), hybrid_cmd_topic(), hybrid_cmd_unban(), hybrid_cmd_unsgline(), hybrid_cmd_unsqline(), hybrid_cmd_unszline(), hybrid_cmd_vhost_off(), hybrid_cmd_vhost_on(), hybrid_flood_mode_check(), hybrid_set_umode(), hybrid_valid_chan(), hybrid_valid_nick(), pmodule_cmd_211(), pmodule_cmd_219(), pmodule_cmd_242(), pmodule_cmd_243(), pmodule_cmd_250(), pmodule_cmd_307(), pmodule_cmd_311(), pmodule_cmd_312(), pmodule_cmd_317(), pmodule_cmd_318(), pmodule_cmd_351(), pmodule_cmd_372(), pmodule_cmd_372_error(), pmodule_cmd_375(), pmodule_cmd_376(), pmodule_cmd_391(), pmodule_cmd_401(), pmodule_cmd_akill(), pmodule_cmd_bob(), pmodule_cmd_bot_chan_mode(), pmodule_cmd_bot_nick(), pmodule_cmd_chg_nick(), pmodule_cmd_connect(), pmodule_cmd_ctcp(), pmodule_cmd_eob(), pmodule_cmd_global(), pmodule_cmd_global_legacy(), pmodule_cmd_guest_nick(), pmodule_cmd_invite(), pmodule_cmd_join(), pmodule_cmd_jupe(), pmodule_cmd_kick(), pmodule_cmd_mode(), pmodule_cmd_nc_change(), pmodule_cmd_nick(), pmodule_cmd_notice(), pmodule_cmd_notice2(), pmodule_cmd_notice_ops(), pmodule_cmd_part(), pmodule_cmd_pong(), pmodule_cmd_privmsg(), pmodule_cmd_privmsg2(), pmodule_cmd_quit(), pmodule_cmd_release_svshold(), pmodule_cmd_remove_akill(), pmodule_cmd_serv_notice(), pmodule_cmd_serv_privmsg(), pmodule_cmd_sgline(), pmodule_cmd_sqline(), pmodule_cmd_squit(), pmodule_cmd_svid_umode(), pmodule_cmd_svid_umode2(), pmodule_cmd_svid_umode3(), pmodule_cmd_svshold(), pmodule_cmd_svsjoin(), pmodule_cmd_svskill(), pmodule_cmd_svsmode(), pmodule_cmd_svsmode_chan(), pmodule_cmd_svsnick(), pmodule_cmd_svsnoop(), pmodule_cmd_svso(), pmodule_cmd_svspart(), pmodule_cmd_swhois(), pmodule_cmd_szline(), pmodule_cmd_topic(), pmodule_cmd_unban(), pmodule_cmd_unsgline(), pmodule_cmd_unsqline(), pmodule_cmd_unszline(), pmodule_cmd_vhost_off(), pmodule_cmd_vhost_on(), pmodule_flood_mode_check(), pmodule_set_umode(), pmodule_valid_chan(), and pmodule_valid_nick().

Referenced by AnopeInit().

void moduleAddIRCDMsgs ( void  )

Variable Documentation

CBModeInfo myCbmodeinfos[]
Initial value:
= {
{'c', CMODE_c, 0, NULL, NULL},
{'i', CMODE_i, 0, NULL, NULL},
{'k', CMODE_k, 0, get_key, cs_get_key},
{'m', CMODE_m, 0, NULL, NULL},
{'n', CMODE_n, 0, NULL, NULL},
{'p', CMODE_p, 0, NULL, NULL},
{'r', CMODE_r, 0, NULL, NULL},
{'s', CMODE_s, 0, NULL, NULL},
{'t', CMODE_t, 0, NULL, NULL},
{'M', CMODE_M, 0, NULL, NULL},
{'O', CMODE_O, 0, NULL, NULL},
{'R', CMODE_R, 0, NULL, NULL},
{'S', CMODE_S, 0, NULL, NULL},
{0}
}
#define CBM_MINUS_NO_ARG
Definition: services.h:928
#define CMODE_p
Definition: bahamut.h:47
E char * get_limit(Channel *chan)
Definition: channels.c:1881
#define CMODE_l
Definition: bahamut.h:51
#define CMODE_M
Definition: bahamut.h:55
#define CMODE_n
Definition: bahamut.h:46
#define CMODE_R
Definition: bahamut.h:52
#define CMODE_t
Definition: bahamut.h:49
E char * cs_get_key(ChannelInfo *ci)
Definition: chanserv.c:2447
#define CMODE_r
Definition: bahamut.h:53
#define CMODE_O
Definition: bahamut.h:57
#define CMODE_m
Definition: bahamut.h:45
#define CMODE_k
Definition: bahamut.h:50
E char * cs_get_limit(ChannelInfo *ci)
Definition: chanserv.c:2458
#define CMODE_c
Definition: bahamut.h:54
E char * get_key(Channel *chan)
Definition: channels.c:1874
#define CMODE_i
Definition: bahamut.h:44
#define CMODE_S
Definition: hybrid.h:46
#define CMODE_s
Definition: bahamut.h:48

Definition at line 417 of file hybrid.c.

CBMode myCbmodes[128]

Definition at line 351 of file hybrid.c.

CMMode myCmmodes[128]

Definition at line 301 of file hybrid.c.

char myCsmodes[128]
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,
0,
0, 0, 0,
'h',
0, 0, 0, 0,
0,
'v', 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
'o', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}

Definition at line 280 of file hybrid.c.

Referenced by AnopeInit().

CUMode myCumodes[128]

Definition at line 435 of file hybrid.c.

IRCDVar myIrcd[]

Definition at line 19 of file hybrid.c.

IRCDCAPAB myIrcdcap[]

Definition at line 118 of file hybrid.c.

unsigned long umodes[128]

Definition at line 228 of file hybrid.c.

Referenced by hybrid_set_umode().