src/mod/irc.mod/irc.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define check_tcl_join(a, b, c, d)   check_tcl_joinspltrejn(a,b,c,d,H_join)
#define check_tcl_splt(a, b, c, d)   check_tcl_joinspltrejn(a,b,c,d,H_splt)
#define check_tcl_rejn(a, b, c, d)   check_tcl_joinspltrejn(a,b,c,d,H_rejn)
#define check_tcl_sign(a, b, c, d, e)   check_tcl_signtopcnick(a,b,c,d,e,H_sign)
#define check_tcl_topc(a, b, c, d, e)   check_tcl_signtopcnick(a,b,c,d,e,H_topc)
#define check_tcl_nick(a, b, c, d, e)   check_tcl_signtopcnick(a,b,c,d,e,H_nick)
#define REVENGE_KICK   1
#define REVENGE_DEOP   2
#define resetbans(chan)
#define resetexempts(chan)
#define resetinvites(chan)
#define newban(chan, mask, who)   newmask((chan)->channel.ban, mask, who)
#define newexempt(chan, mask, who)
#define newinvite(chan, mask, who)

Functions

static void check_tcl_need (char *, char *)
static void check_tcl_kick (char *, char *, struct userrec *, char *, char *, char *)
static void check_tcl_mode (char *, char *, struct userrec *, char *, char *, char *)
static void check_tcl_joinspltrejn (char *, char *, struct userrec *, char *, p_tcl_bind_list)
static void check_tcl_part (char *, char *, struct userrec *, char *, char *)
static void check_tcl_signtopcnick (char *, char *, struct userrec *u, char *, char *, p_tcl_bind_list)
static int check_tcl_pubm (char *, char *, char *, char *)
static int check_tcl_pub (char *, char *, char *, char *)
static int me_op (struct chanset_t *)
static int me_halfop (struct chanset_t *)
static int me_voice (struct chanset_t *)
static int any_ops (struct chanset_t *)
static int hand_on_chan (struct chanset_t *, struct userrec *)
static char * getchanmode (struct chanset_t *)
static void flush_mode (struct chanset_t *, int)
static void set_delay (struct chanset_t *, char *)
static void refresh_who_chan (char *)
static void reset_chan_info (struct chanset_t *, int)
static void recheck_channel (struct chanset_t *, int)
static void set_key (struct chanset_t *, char *)
static void maybe_revenge (struct chanset_t *, char *, char *, int)
static int detect_chan_flood (char *, char *, char *, struct chanset_t *, int, char *)
static void newmask (masklist *, char *, char *)
static char * quickban (struct chanset_t *, char *)
static void got_op (struct chanset_t *chan, char *nick, char *from, char *who, struct userrec *opu, struct flag_record *opper)
static void got_halfop (struct chanset_t *chan, char *nick, char *from, char *who, struct userrec *opu, struct flag_record *opper)
static int killmember (struct chanset_t *chan, char *nick)
static void check_lonely_channel (struct chanset_t *chan)
static int gotmode (char *, char *)

Define Documentation

#define check_tcl_join ( a,
b,
c,
 )     check_tcl_joinspltrejn(a,b,c,d,H_join)

Definition at line 28 of file irc.h.

Referenced by gotjoin().

#define check_tcl_nick ( a,
b,
c,
d,
e   )     check_tcl_signtopcnick(a,b,c,d,e,H_nick)

Definition at line 33 of file irc.h.

Referenced by gotnick().

#define check_tcl_rejn ( a,
b,
c,
 )     check_tcl_joinspltrejn(a,b,c,d,H_rejn)

Definition at line 30 of file irc.h.

Referenced by gotjoin().

#define check_tcl_sign ( a,
b,
c,
d,
e   )     check_tcl_signtopcnick(a,b,c,d,e,H_sign)

Definition at line 31 of file irc.h.

Referenced by check_expired_chanstuff(), and gotquit().

#define check_tcl_splt ( a,
b,
c,
 )     check_tcl_joinspltrejn(a,b,c,d,H_splt)

Definition at line 29 of file irc.h.

Referenced by gotquit().

#define check_tcl_topc ( a,
b,
c,
d,
e   )     check_tcl_signtopcnick(a,b,c,d,e,H_topc)

Definition at line 32 of file irc.h.

Referenced by got331(), got332(), and gottopic().

#define newban ( chan,
mask,
who   )     newmask((chan)->channel.ban, mask, who)

Definition at line 86 of file irc.h.

Referenced by got367(), and got_ban().

#define newexempt ( chan,
mask,
who   ) 
Value:
newmask((chan)->channel.exempt, mask, \
                                                who)

Definition at line 87 of file irc.h.

Referenced by got348(), and got_exempt().

#define newinvite ( chan,
mask,
who   ) 
Value:
newmask((chan)->channel.invite, mask, \
                                                who)

Definition at line 89 of file irc.h.

Referenced by got346(), and got_invite().

#define resetbans ( chan   ) 
Value:
resetmasks((chan), (chan)->channel.ban,          \
                                       (chan)->bans, global_bans, 'b')

Definition at line 62 of file irc.h.

Referenced by cmd_resetbans(), and recheck_channel().

#define resetexempts ( chan   ) 
Value:
resetmasks((chan), (chan)->channel.exempt,       \
                                       (chan)->exempts, global_exempts, 'e')

Definition at line 64 of file irc.h.

Referenced by cmd_resetexempts(), and recheck_channel().

#define resetinvites ( chan   ) 
Value:
resetmasks((chan), (chan)->channel.invite,       \
                                       (chan)->invites, global_invites, 'I')

Definition at line 66 of file irc.h.

Referenced by cmd_resetinvites(), and recheck_channel().

#define REVENGE_DEOP   2

Definition at line 36 of file irc.h.

Referenced by got_deop(), and punish_badguy().

#define REVENGE_KICK   1

Definition at line 35 of file irc.h.

Referenced by gotkick(), and punish_badguy().


Function Documentation

static int any_ops ( struct chanset_t  )  [static]
static void check_lonely_channel ( struct chanset_t chan  )  [static]
static void check_tcl_joinspltrejn ( char *  ,
char *  ,
struct userrec ,
char *  ,
p_tcl_bind_list   
) [static]
static void check_tcl_kick ( char *  ,
char *  ,
struct userrec ,
char *  ,
char *  ,
char *   
) [static]

Referenced by gotkick().

Here is the caller graph for this function:

static void check_tcl_mode ( char *  ,
char *  ,
struct userrec ,
char *  ,
char *  ,
char *   
) [static]

Referenced by got_ban(), got_dehalfop(), got_deop(), got_exempt(), got_halfop(), got_invite(), got_op(), got_unban(), got_unexempt(), got_uninvite(), and gotmode().

Here is the caller graph for this function:

static void check_tcl_need ( char *  ,
char *   
) [static]

Referenced by check_lonely_channel(), got352or4(), got471(), got473(), got474(), got475(), and got_deop().

Here is the caller graph for this function:

static void check_tcl_part ( char *  ,
char *  ,
struct userrec ,
char *  ,
char *   
) [static]

Referenced by do_channel_part(), and gotpart().

Here is the caller graph for this function:

static int check_tcl_pub ( char *  ,
char *  ,
char *  ,
char *   
) [static]

Referenced by gotmsg().

Here is the caller graph for this function:

static int check_tcl_pubm ( char *  ,
char *  ,
char *  ,
char *   
) [static]

Referenced by gotmsg().

Here is the caller graph for this function:

static void check_tcl_signtopcnick ( char *  ,
char *  ,
struct userrec u,
char *  ,
char *  ,
p_tcl_bind_list   
) [static]
static int detect_chan_flood ( char *  ,
char *  ,
char *  ,
struct chanset_t ,
int  ,
char *   
) [static]
static void flush_mode ( struct chanset_t ,
int   
) [static]

Referenced by check_exemptlist(), do_mask(), flush_modes(), kick_all(), and punish_badguy().

Here is the caller graph for this function:

static char* getchanmode ( struct chanset_t  )  [static]
static void got_halfop ( struct chanset_t chan,
char *  nick,
char *  from,
char *  who,
struct userrec opu,
struct flag_record opper 
) [static]
static void got_op ( struct chanset_t chan,
char *  nick,
char *  from,
char *  who,
struct userrec opu,
struct flag_record opper 
) [static]
static int gotmode ( char *  ,
char *   
) [static]
static int hand_on_chan ( struct chanset_t ,
struct userrec  
) [static]
static int killmember ( struct chanset_t chan,
char *  nick 
) [static]
static void maybe_revenge ( struct chanset_t ,
char *  ,
char *  ,
int   
) [static]
static int me_halfop ( struct chanset_t  )  [static]
static int me_op ( struct chanset_t  )  [static]
static int me_voice ( struct chanset_t  )  [static]
static void newmask ( masklist ,
char *  ,
char *   
) [static]
static char* quickban ( struct chanset_t ,
char *   
) [static]
static void recheck_channel ( struct chanset_t ,
int   
) [static]
static void refresh_who_chan ( char *   )  [static]
static void reset_chan_info ( struct chanset_t ,
int   
) [static]
static void set_delay ( struct chanset_t ,
char *   
) [static]
static void set_key ( struct chanset_t ,
char *   
) [static]

Generated on 7 Sep 2016 for Eggdrop by  doxygen 1.6.1