Anope IRC Services  Version 1.8
Macros | Functions
dreamforge.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 /* Services Admin */
 
#define UMODE_h   0x00000002 /* Help system operator */
 
#define UMODE_i   0x00000004 /* makes user invisible */
 
#define UMODE_o   0x00000008 /* Operator */
 
#define UMODE_r   0x00000010 /* Nick set by services as registered */
 
#define UMODE_w   0x00000020 /* send wallops to them */
 
#define UMODE_A   0x00000040 /* Admin */
 
#define UMODE_O   0x00000080 /* Local operator */
 
#define UMODE_s   0x00000100 /* server notices such as kill */
 
#define UMODE_k   0x00000200 /* Show server-kills... */
 
#define UMODE_c   0x00000400 /* Show client information */
 
#define UMODE_f   0x00000800 /* Receive flood warnings */
 
#define UMODE_g   0x80000000 /* Shows some global messages */
 
#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 DEFAULT_MLOCK   CMODE_n | CMODE_t | CMODE_r
 

Functions

void dreamforge_set_umode (User *user, int ac, char **av)
 
void dreamforge_cmd_svsnoop (char *server, int set)
 
void dreamforge_cmd_remove_akill (char *user, char *host)
 
void dreamforge_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when)
 
void dreamforge_cmd_vhost_off (User *u)
 
void dreamforge_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason)
 
void dreamforge_cmd_svskill (char *source, char *user, char *buf)
 
void dreamforge_cmd_svsmode (User *u, int ac, char **av)
 
void dreamforge_cmd_372 (char *source, char *msg)
 
void dreamforge_cmd_372_error (char *source)
 
void dreamforge_cmd_375 (char *source)
 
void dreamforge_cmd_376 (char *source)
 
void dreamforge_cmd_nick (char *nick, char *name, char *modes)
 
void dreamforge_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void dreamforge_cmd_mode (char *source, char *dest, char *buf)
 
void dreamforge_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void dreamforge_cmd_kick (char *source, char *chan, char *user, char *buf)
 
void dreamforge_cmd_notice_ops (char *source, char *dest, char *buf)
 
void dreamforge_cmd_notice (char *source, char *dest, char *buf)
 
void dreamforge_cmd_notice2 (char *source, char *dest, char *msg)
 
void dreamforge_cmd_privmsg (char *source, char *dest, char *buf)
 
void dreamforge_cmd_privmsg2 (char *source, char *dest, char *msg)
 
void dreamforge_cmd_serv_notice (char *source, char *dest, char *msg)
 
void dreamforge_cmd_serv_privmsg (char *source, char *dest, char *msg)
 
void dreamforge_cmd_bot_chan_mode (char *nick, char *chan)
 
void dreamforge_cmd_351 (char *source)
 
void dreamforge_cmd_quit (char *source, char *buf)
 
void dreamforge_cmd_pong (char *servname, char *who)
 
void dreamforge_cmd_join (char *user, char *channel, time_t chantime)
 
void dreamforge_cmd_unsqline (char *user)
 
void dreamforge_cmd_invite (char *source, char *chan, char *nick)
 
void dreamforge_cmd_part (char *nick, char *chan, char *buf)
 
void dreamforge_cmd_391 (char *source, char *timestr)
 
void dreamforge_cmd_250 (char *buf)
 
void dreamforge_cmd_307 (char *buf)
 
void dreamforge_cmd_311 (char *buf)
 
void dreamforge_cmd_312 (char *buf)
 
void dreamforge_cmd_317 (char *buf)
 
void dreamforge_cmd_219 (char *source, char *letter)
 
void dreamforge_cmd_401 (char *source, char *who)
 
void dreamforge_cmd_318 (char *source, char *who)
 
void dreamforge_cmd_242 (char *buf)
 
void dreamforge_cmd_243 (char *buf)
 
void dreamforge_cmd_211 (char *buf)
 
void dreamforge_cmd_global (char *source, char *buf)
 
void dreamforge_cmd_global_legacy (char *source, char *fmt)
 
void dreamforge_cmd_sqline (char *mask, char *reason)
 
void dreamforge_cmd_squit (char *servname, char *message)
 
void dreamforge_cmd_svso (char *source, char *nick, char *flag)
 
void dreamforge_cmd_chg_nick (char *oldnick, char *newnick)
 
void dreamforge_cmd_svsnick (char *source, char *guest, time_t when)
 
void dreamforge_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
 
void dreamforge_cmd_connect (int servernum)
 
void dreamforge_cmd_bob ()
 
void dreamforge_cmd_svshold (char *nick)
 
void dreamforge_cmd_release_svshold (char *nick)
 
void dreamforge_cmd_unsgline (char *mask)
 
void dreamforge_cmd_unszline (char *mask)
 
void dreamforge_cmd_szline (char *mask, char *reason, char *whom)
 
void dreamforge_cmd_sgline (char *mask, char *reason)
 
void dreamforge_cmd_unban (char *name, char *nick)
 
void dreamforge_cmd_svsmode_chan (char *name, char *mode, char *nick)
 
void dreamforge_cmd_svid_umode (char *nick, time_t ts)
 
void dreamforge_cmd_nc_change (User *u)
 
void dreamforge_cmd_svid_umode2 (User *u, char *ts)
 
void dreamforge_cmd_svid_umode3 (User *u, char *ts)
 
void dreamforge_cmd_eob ()
 
int dreamforge_flood_mode_check (char *value)
 
void dreamforge_cmd_jupe (char *jserver, char *who, char *reason)
 
int dreamforge_valid_nick (char *nick)
 
void dreamforge_cmd_ctcp (char *source, char *dest, char *buf)
 

Macro Definition Documentation

#define CMODE_i   0x00000001

Definition at line 28 of file dreamforge.h.

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

Definition at line 34 of file dreamforge.h.

#define CMODE_l   0x00000080

Definition at line 35 of file dreamforge.h.

#define CMODE_m   0x00000002

Definition at line 29 of file dreamforge.h.

#define CMODE_n   0x00000004

Definition at line 30 of file dreamforge.h.

#define CMODE_p   0x00000008

Definition at line 31 of file dreamforge.h.

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

Definition at line 36 of file dreamforge.h.

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

Definition at line 37 of file dreamforge.h.

#define CMODE_s   0x00000010

Definition at line 32 of file dreamforge.h.

#define CMODE_t   0x00000020

Definition at line 33 of file dreamforge.h.

#define DEFAULT_MLOCK   CMODE_n | CMODE_t | CMODE_r

Definition at line 39 of file dreamforge.h.

#define UMODE_a   0x00000001 /* Services Admin */

Definition at line 14 of file dreamforge.h.

#define UMODE_A   0x00000040 /* Admin */

Definition at line 20 of file dreamforge.h.

#define UMODE_c   0x00000400 /* Show client information */

Definition at line 24 of file dreamforge.h.

#define UMODE_f   0x00000800 /* Receive flood warnings */

Definition at line 25 of file dreamforge.h.

#define UMODE_g   0x80000000 /* Shows some global messages */

Definition at line 26 of file dreamforge.h.

#define UMODE_h   0x00000002 /* Help system operator */

Definition at line 15 of file dreamforge.h.

#define UMODE_i   0x00000004 /* makes user invisible */

Definition at line 16 of file dreamforge.h.

#define UMODE_k   0x00000200 /* Show server-kills... */

Definition at line 23 of file dreamforge.h.

#define UMODE_o   0x00000008 /* Operator */

Definition at line 17 of file dreamforge.h.

#define UMODE_O   0x00000080 /* Local operator */

Definition at line 21 of file dreamforge.h.

#define UMODE_r   0x00000010 /* Nick set by services as registered */

Definition at line 18 of file dreamforge.h.

#define UMODE_s   0x00000100 /* server notices such as kill */

Definition at line 22 of file dreamforge.h.

#define UMODE_w   0x00000020 /* send wallops to them */

Definition at line 19 of file dreamforge.h.

Function Documentation

void dreamforge_cmd_211 ( char *  buf)

Definition at line 943 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_219 ( char *  source,
char *  letter 
)

Definition at line 889 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_242 ( char *  buf)

Definition at line 923 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_243 ( char *  buf)

Definition at line 933 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_250 ( char *  buf)

Definition at line 839 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_307 ( char *  buf)

Definition at line 849 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_311 ( char *  buf)

Definition at line 859 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_312 ( char *  buf)

Definition at line 869 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_317 ( char *  buf)

Definition at line 879 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_318 ( char *  source,
char *  who 
)

Definition at line 913 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_351 ( char *  source)
void dreamforge_cmd_372 ( char *  source,
char *  msg 
)

Definition at line 1014 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_372_error ( char *  source)

Definition at line 1019 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_375 ( char *  source)

Definition at line 1025 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_376 ( char *  source)

Definition at line 1031 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_391 ( char *  source,
char *  timestr 
)

Definition at line 830 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_401 ( char *  source,
char *  who 
)

Definition at line 904 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 575 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_bob ( )

Definition at line 644 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_bot_chan_mode ( char *  nick,
char *  chan 
)

Definition at line 649 of file dreamforge.c.

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

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_bot_nick ( char *  nick,
char *  user,
char *  host,
char *  real,
char *  modes 
)
void dreamforge_cmd_chg_nick ( char *  oldnick,
char *  newnick 
)

Definition at line 1172 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_connect ( int  servernum)
void dreamforge_cmd_ctcp ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 1261 of file dreamforge.c.

References normalizeBuffer(), and send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_eob ( )

Definition at line 1216 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_global ( char *  source,
char *  buf 
)

Definition at line 657 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_global_legacy ( char *  source,
char *  fmt 
)

Definition at line 1235 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1107 of file dreamforge.c.

References anope_cmd_mode(), send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1037 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 570 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_jupe ( char *  jserver,
char *  who,
char *  reason 
)
void dreamforge_cmd_kick ( char *  source,
char *  chan,
char *  user,
char *  buf 
)

Definition at line 962 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 750 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_nc_change ( User u)

Definition at line 1151 of file dreamforge.c.

References common_svsmode().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_nick ( char *  nick,
char *  name,
char *  modes 
)
void dreamforge_cmd_notice ( char *  source,
char *  dest,
char *  buf 
)

Definition at line 769 of file dreamforge.c.

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

Referenced by moduleAddAnopeCmds().

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

Definition at line 782 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 759 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 551 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_pong ( char *  servname,
char *  who 
)

Definition at line 1047 of file dreamforge.c.

References send_cmd().

Referenced by anope_event_ping(), and moduleAddAnopeCmds().

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

Definition at line 787 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 796 of file dreamforge.c.

References send_cmd().

Referenced by dreamforge_cmd_notice(), and moduleAddAnopeCmds().

void dreamforge_cmd_quit ( char *  source,
char *  buf 
)

Definition at line 820 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_release_svshold ( char *  nick)

Definition at line 1069 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_remove_akill ( char *  user,
char *  host 
)

Definition at line 538 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 801 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 806 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_sgline ( char *  mask,
char *  reason 
)

Definition at line 1093 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_sqline ( char *  mask,
char *  reason 
)

Definition at line 523 of file dreamforge.c.

References send_cmd().

Referenced by dreamforge_cmd_bot_nick(), dreamforge_cmd_nick(), and moduleAddAnopeCmds().

void dreamforge_cmd_squit ( char *  servname,
char *  message 
)

Definition at line 602 of file dreamforge.c.

References send_cmd().

Referenced by dreamforge_cmd_jupe(), and moduleAddAnopeCmds().

void dreamforge_cmd_svid_umode ( char *  nick,
time_t  ts 
)

Definition at line 1144 of file dreamforge.c.

References send_cmd(), and ServerName.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_svid_umode2 ( User u,
char *  ts 
)

Definition at line 1157 of file dreamforge.c.

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

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_svid_umode3 ( User u,
char *  ts 
)

Definition at line 1166 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_svshold ( char *  nick)

Definition at line 1063 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 582 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

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

Definition at line 595 of file dreamforge.c.

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

Referenced by moduleAddAnopeCmds().

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

Definition at line 1132 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1099 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_svsnoop ( char *  server,
int  set 
)

Definition at line 528 of file dreamforge.c.

References send_cmd().

Referenced by dreamforge_cmd_svsadmin(), and moduleAddAnopeCmds().

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

Definition at line 1115 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1087 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 543 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_unban ( char *  name,
char *  nick 
)

Definition at line 1125 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_unsgline ( char *  mask)

Definition at line 1075 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_unsqline ( char *  user)

Definition at line 565 of file dreamforge.c.

References send_cmd().

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_unszline ( char *  mask)

Definition at line 1081 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

void dreamforge_cmd_vhost_off ( User u)

Definition at line 1137 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

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

Definition at line 1120 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

int dreamforge_flood_mode_check ( char *  value)

Definition at line 1211 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().

void dreamforge_set_umode ( User user,
int  ac,
char **  av 
)
int dreamforge_valid_nick ( char *  nick)

Definition at line 1244 of file dreamforge.c.

Referenced by moduleAddAnopeCmds().