Anope IRC Services  Version 1.8
Macros | Functions
inspircd12.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_c   0x00000001
 
#define UMODE_h   0x00000002
 
#define UMODE_i   0x00000004
 
#define UMODE_o   0x00000008
 
#define UMODE_r   0x00000010
 
#define UMODE_w   0x00000020
 
#define UMODE_d   0x00000040
 
#define UMODE_g   0x00000080
 
#define UMODE_x   0x00000100
 
#define UMODE_k   0x00000200
 
#define UMODE_s   0x00000400
 
#define UMODE_B   0x00001000
 
#define UMODE_G   0x00002000
 
#define UMODE_H   0x00004000
 
#define UMODE_I   0x00008000
 
#define UMODE_Q   0x00010000
 
#define UMODE_R   0x00020000
 
#define UMODE_S   0x00040000
 
#define UMODE_W   0x00080000
 
#define CMODE_i   0x00000001
 
#define CMODE_m   0x00000002
 
#define CMODE_n   0x00000004
 
#define CMODE_p   0x00000008
 
#define CMODE_s   0x00000010
 
#define CMODE_t   0x00000020
 
#define CMODE_k   0x00000040 /* These two used only by ChanServ */
 
#define CMODE_l   0x00000080
 
#define CMODE_R   0x00000100 /* Only identified users can join */
 
#define CMODE_r   0x00000200 /* Set for all registered channels */
 
#define CMODE_c   0x00000400
 
#define CMODE_A   0x00000800
 
#define CMODE_T   0x00001000
 
#define CMODE_K   0x00002000
 
#define CMODE_L   0x00004000
 
#define CMODE_O   0x00008000
 
#define CMODE_Q   0x00010000
 
#define CMODE_S   0x00020000
 
#define CMODE_P   0x00040000
 
#define CMODE_f   0x00080000
 
#define CMODE_G   0x00100000
 
#define CMODE_C   0x00200000
 
#define CMODE_u   0x00400000
 
#define CMODE_z   0x00800000
 
#define CMODE_N   0x01000000
 
#define CMODE_j   0x02000000
 
#define CMODE_M   0x04000000
 
#define CMODE_B   0x08000000
 
#define CMODE_F   0x10000000
 
#define CMODE_g   0x20000000
 
#define CMODE_J   0x40000000
 
#define DEFAULT_MLOCK   CMODE_n | CMODE_t | CMODE_r
 

Functions

void inspircd_set_umode (User *user, int ac, char **av)
 
void inspircd_cmd_svsnoop (char *server, int set)
 
void inspircd_cmd_remove_akill (char *user, char *host)
 
void inspircd_cmd_topic (char *whosets, char *chan, char *whosetit, char *topic, time_t when)
 
void inspircd_cmd_vhost_off (User *u)
 
void inspircd_cmd_akill (char *user, char *host, char *who, time_t when, time_t expires, char *reason)
 
void inspircd_cmd_svskill (char *source, char *user, char *buf)
 
void inspircd_cmd_svsmode (User *u, int ac, char **av)
 
void inspircd_cmd_372 (char *source, char *msg)
 
void inspircd_cmd_372_error (char *source)
 
void inspircd_cmd_375 (char *source)
 
void inspircd_cmd_376 (char *source)
 
void inspircd_cmd_nick (char *nick, char *name, char *modes)
 
void inspircd_cmd_guest_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void inspircd_cmd_mode (char *source, char *dest, char *buf)
 
void inspircd_cmd_bot_nick (char *nick, char *user, char *host, char *real, char *modes)
 
void inspircd_cmd_kick (char *source, char *chan, char *user, char *buf)
 
void inspircd_cmd_notice_ops (char *source, char *dest, char *buf)
 
void inspircd_cmd_notice (char *source, char *dest, char *buf)
 
void inspircd_cmd_notice2 (char *source, char *dest, char *msg)
 
void inspircd_cmd_privmsg (char *source, char *dest, char *buf)
 
void inspircd_cmd_privmsg2 (char *source, char *dest, char *msg)
 
void inspircd_cmd_serv_notice (char *source, char *dest, char *msg)
 
void inspircd_cmd_serv_privmsg (char *source, char *dest, char *msg)
 
void inspircd_cmd_bot_chan_mode (char *nick, char *chan)
 
void inspircd_cmd_351 (char *source)
 
void inspircd_cmd_quit (char *source, char *buf)
 
void inspircd_cmd_pong (char *servname, char *who)
 
void inspircd_cmd_join (char *user, char *channel, time_t chantime)
 
void inspircd_cmd_unsqline (char *user)
 
void inspircd_cmd_invite (char *source, char *chan, char *nick)
 
void inspircd_cmd_part (char *nick, char *chan, char *buf)
 
void inspircd_cmd_391 (char *source, char *timestr)
 
void inspircd_cmd_250 (char *buf)
 
void inspircd_cmd_307 (char *buf)
 
void inspircd_cmd_311 (char *buf)
 
void inspircd_cmd_312 (char *buf)
 
void inspircd_cmd_317 (char *buf)
 
void inspircd_cmd_219 (char *source, char *letter)
 
void inspircd_cmd_401 (char *source, char *who)
 
void inspircd_cmd_318 (char *source, char *who)
 
void inspircd_cmd_242 (char *buf)
 
void inspircd_cmd_243 (char *buf)
 
void inspircd_cmd_211 (char *buf)
 
void inspircd_cmd_global (char *source, char *buf)
 
void inspircd_cmd_global_legacy (char *source, char *fmt)
 
void inspircd_cmd_sqline (char *mask, char *reason)
 
void inspircd_cmd_squit (char *servname, char *message)
 
void inspircd_cmd_svso (char *source, char *nick, char *flag)
 
void inspircd_cmd_chg_nick (char *oldnick, char *newnick)
 
void inspircd_cmd_svsnick (char *source, char *guest, time_t when)
 
void inspircd_cmd_vhost_on (char *nick, char *vIdent, char *vhost)
 
void inspircd_cmd_connect (int servernum)
 
void inspircd_cmd_bob ()
 
void inspircd_cmd_svshold (char *nick)
 
void inspircd_cmd_release_svshold (char *nick)
 
void inspircd_cmd_unsgline (char *mask)
 
void inspircd_cmd_unszline (char *mask)
 
void inspircd_cmd_szline (char *mask, char *reason, char *whom)
 
void inspircd_cmd_sgline (char *mask, char *reason)
 
void inspircd_cmd_unban (char *name, char *nick)
 
void inspircd_cmd_svsmode_chan (char *name, char *mode, char *nick)
 
void inspircd_cmd_svid_umode (char *nick, time_t ts)
 
void inspircd_cmd_nc_change (User *u)
 
void inspircd_cmd_svid_umode2 (User *u, char *ts)
 
void inspircd_cmd_svid_umode3 (User *u, char *ts)
 
void inspircd_cmd_eob ()
 
void inspircd_cmd_chghost (char *nick, char *vhost)
 
void inspircd_cmd_chgident (char *nick, char *vIdent)
 
int inspircd_flood_mode_check (char *value)
 
void inspircd_cmd_jupe (char *jserver, char *who, char *reason)
 
int inspircd_valid_nick (char *nick)
 
void inspircd_cmd_ctcp (char *source, char *dest, char *buf)
 
int inspircd_jointhrottle_mode_check (char *value)
 
int anope_event_fjoin (char *source, int ac, char **av)
 
int anope_event_fmode (char *source, int ac, char **av)
 
int anope_event_ftopic (char *source, int ac, char **av)
 
int anope_event_sanick (char *source, int ac, char **av)
 
int anope_event_samode (char *source, int ac, char **av)
 
int anope_event_sajoin (char *source, int ac, char **av)
 
int anope_event_sapart (char *source, int ac, char **av)
 
int anope_event_version (char *source, int ac, char **av)
 
int anope_event_opertype (char *source, int ac, char **av)
 
int anope_event_idle (char *source, int ac, char **av)
 
int anope_event_rsquit (char *source, int ac, char **av)
 
int anope_event_uid (char *source, int ac, char **av)
 
int anope_event_metadata (char *source, int ac, char **av)
 
int anope_event_burst (char *source, int ac, char **av)
 
int anope_event_eob (char *source, int ac, char **av)
 
int anope_event_time (char *source, int ac, char **av)
 
int is_sid (char *sid)
 
void ts6_sid_increment (unsigned pos)
 
char * ts6_sid_retrieve ()
 

Macro Definition Documentation

#define CMODE_A   0x00000800

Definition at line 51 of file inspircd12.h.

#define CMODE_B   0x08000000

Definition at line 67 of file inspircd12.h.

Referenced by anope_event_capab().

#define CMODE_c   0x00000400

Definition at line 50 of file inspircd12.h.

#define CMODE_C   0x00200000

Definition at line 61 of file inspircd12.h.

#define CMODE_f   0x00080000

Definition at line 59 of file inspircd12.h.

#define CMODE_F   0x10000000

Definition at line 68 of file inspircd12.h.

#define CMODE_G   0x00100000

Definition at line 60 of file inspircd12.h.

#define CMODE_g   0x20000000

Definition at line 69 of file inspircd12.h.

#define CMODE_i   0x00000001

Definition at line 40 of file inspircd12.h.

#define CMODE_j   0x02000000

Definition at line 65 of file inspircd12.h.

#define CMODE_J   0x40000000

Definition at line 70 of file inspircd12.h.

Referenced by anope_event_capab().

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

Definition at line 46 of file inspircd12.h.

#define CMODE_K   0x00002000

Definition at line 53 of file inspircd12.h.

#define CMODE_l   0x00000080

Definition at line 47 of file inspircd12.h.

#define CMODE_L   0x00004000

Definition at line 54 of file inspircd12.h.

#define CMODE_m   0x00000002

Definition at line 41 of file inspircd12.h.

#define CMODE_M   0x04000000

Definition at line 66 of file inspircd12.h.

#define CMODE_n   0x00000004

Definition at line 42 of file inspircd12.h.

#define CMODE_N   0x01000000

Definition at line 64 of file inspircd12.h.

#define CMODE_O   0x00008000

Definition at line 55 of file inspircd12.h.

#define CMODE_p   0x00000008

Definition at line 43 of file inspircd12.h.

#define CMODE_P   0x00040000

Definition at line 58 of file inspircd12.h.

#define CMODE_Q   0x00010000

Definition at line 56 of file inspircd12.h.

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

Definition at line 48 of file inspircd12.h.

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

Definition at line 49 of file inspircd12.h.

#define CMODE_s   0x00000010

Definition at line 44 of file inspircd12.h.

#define CMODE_S   0x00020000

Definition at line 57 of file inspircd12.h.

#define CMODE_t   0x00000020

Definition at line 45 of file inspircd12.h.

#define CMODE_T   0x00001000

Definition at line 52 of file inspircd12.h.

Referenced by anope_event_capab().

#define CMODE_u   0x00400000

Definition at line 62 of file inspircd12.h.

#define CMODE_z   0x00800000

Definition at line 63 of file inspircd12.h.

#define DEFAULT_MLOCK   CMODE_n | CMODE_t | CMODE_r

Definition at line 72 of file inspircd12.h.

#define UMODE_B   0x00001000

Definition at line 31 of file inspircd12.h.

#define UMODE_c   0x00000001

Definition at line 20 of file inspircd12.h.

#define UMODE_d   0x00000040

Definition at line 26 of file inspircd12.h.

#define UMODE_g   0x00000080

Definition at line 27 of file inspircd12.h.

#define UMODE_G   0x00002000

Definition at line 32 of file inspircd12.h.

#define UMODE_h   0x00000002

Definition at line 21 of file inspircd12.h.

#define UMODE_H   0x00004000

Definition at line 33 of file inspircd12.h.

#define UMODE_i   0x00000004

Definition at line 22 of file inspircd12.h.

#define UMODE_I   0x00008000

Definition at line 34 of file inspircd12.h.

#define UMODE_k   0x00000200

Definition at line 29 of file inspircd12.h.

#define UMODE_o   0x00000008

Definition at line 23 of file inspircd12.h.

#define UMODE_Q   0x00010000

Definition at line 35 of file inspircd12.h.

#define UMODE_r   0x00000010

Definition at line 24 of file inspircd12.h.

#define UMODE_R   0x00020000

Definition at line 36 of file inspircd12.h.

#define UMODE_s   0x00000400

Definition at line 30 of file inspircd12.h.

#define UMODE_S   0x00040000

Definition at line 37 of file inspircd12.h.

#define UMODE_w   0x00000020

Definition at line 25 of file inspircd12.h.

#define UMODE_W   0x00080000

Definition at line 38 of file inspircd12.h.

#define UMODE_x   0x00000100

Definition at line 28 of file inspircd12.h.

Function Documentation

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

Definition at line 1455 of file bahamut.c.

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

Definition at line 889 of file hybrid.c.

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

Definition at line 723 of file inspircd11.c.

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

Definition at line 684 of file inspircd11.c.

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

Definition at line 656 of file inspircd11.c.

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

Definition at line 648 of file inspircd11.c.

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

Definition at line 1749 of file inspircd12.c.

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

Definition at line 669 of file inspircd11.c.

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

Definition at line 1261 of file inspircd11.c.

int anope_event_sajoin ( char *  source,
int  ac,
char **  av 
)
int anope_event_samode ( char *  source,
int  ac,
char **  av 
)
int anope_event_sanick ( char *  source,
int  ac,
char **  av 
)
int anope_event_sapart ( char *  source,
int  ac,
char **  av 
)
int anope_event_time ( char *  source,
int  ac,
char **  av 
)

Definition at line 2531 of file inspircd12.c.

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

Definition at line 1702 of file inspircd12.c.

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

Definition at line 643 of file inspircd11.c.

void inspircd_cmd_211 ( char *  buf)

Definition at line 1081 of file inspircd11.c.

void inspircd_cmd_219 ( char *  source,
char *  letter 
)

Definition at line 1027 of file inspircd11.c.

void inspircd_cmd_242 ( char *  buf)

Definition at line 1061 of file inspircd11.c.

void inspircd_cmd_243 ( char *  buf)

Definition at line 1071 of file inspircd11.c.

void inspircd_cmd_250 ( char *  buf)

Definition at line 977 of file inspircd11.c.

void inspircd_cmd_307 ( char *  buf)

Definition at line 987 of file inspircd11.c.

void inspircd_cmd_311 ( char *  buf)

Definition at line 997 of file inspircd11.c.

void inspircd_cmd_312 ( char *  buf)

Definition at line 1007 of file inspircd11.c.

void inspircd_cmd_317 ( char *  buf)

Definition at line 1017 of file inspircd11.c.

void inspircd_cmd_318 ( char *  source,
char *  who 
)

Definition at line 1051 of file inspircd11.c.

void inspircd_cmd_351 ( char *  source)

Definition at line 859 of file inspircd11.c.

void inspircd_cmd_372 ( char *  source,
char *  msg 
)

Definition at line 591 of file inspircd11.c.

void inspircd_cmd_372_error ( char *  source)

Definition at line 596 of file inspircd11.c.

void inspircd_cmd_375 ( char *  source)

Definition at line 602 of file inspircd11.c.

void inspircd_cmd_376 ( char *  source)

Definition at line 608 of file inspircd11.c.

void inspircd_cmd_391 ( char *  source,
char *  timestr 
)

Definition at line 968 of file inspircd11.c.

void inspircd_cmd_401 ( char *  source,
char *  who 
)

Definition at line 1042 of file inspircd11.c.

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

Definition at line 566 of file inspircd11.c.

void inspircd_cmd_bob ( )

Definition at line 1181 of file inspircd11.c.

void inspircd_cmd_bot_chan_mode ( char *  nick,
char *  chan 
)

Definition at line 854 of file inspircd11.c.

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

Definition at line 783 of file inspircd11.c.

void inspircd_cmd_chg_nick ( char *  oldnick,
char *  newnick 
)

Definition at line 1127 of file inspircd11.c.

void inspircd_cmd_chghost ( char *  nick,
char *  vhost 
)

Definition at line 918 of file inspircd11.c.

void inspircd_cmd_chgident ( char *  nick,
char *  vIdent 
)

Definition at line 931 of file inspircd11.c.

void inspircd_cmd_connect ( int  servernum)

Definition at line 1160 of file inspircd11.c.

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

Definition at line 1812 of file inspircd11.c.

void inspircd_cmd_eob ( )

Definition at line 1747 of file inspircd11.c.

void inspircd_cmd_global ( char *  source,
char *  buf 
)

Definition at line 1091 of file inspircd11.c.

void inspircd_cmd_global_legacy ( char *  source,
char *  fmt 
)

Definition at line 1796 of file inspircd11.c.

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

Definition at line 625 of file inspircd11.c.

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

Definition at line 944 of file inspircd11.c.

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

Definition at line 903 of file inspircd11.c.

void inspircd_cmd_jupe ( char *  jserver,
char *  who,
char *  reason 
)

Definition at line 1782 of file inspircd11.c.

void inspircd_cmd_kick ( char *  source,
char *  chan,
char *  user,
char *  buf 
)

Definition at line 792 of file inspircd11.c.

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

Definition at line 632 of file inspircd11.c.

void inspircd_cmd_nc_change ( User u)

Definition at line 1712 of file inspircd11.c.

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

Definition at line 613 of file inspircd11.c.

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

Definition at line 811 of file inspircd11.c.

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

Definition at line 824 of file inspircd11.c.

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

Definition at line 801 of file inspircd11.c.

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

Definition at line 954 of file inspircd11.c.

void inspircd_cmd_pong ( char *  servname,
char *  who 
)

Definition at line 897 of file inspircd11.c.

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

Definition at line 829 of file inspircd11.c.

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

Definition at line 838 of file inspircd11.c.

void inspircd_cmd_quit ( char *  source,
char *  buf 
)

Definition at line 867 of file inspircd11.c.

void inspircd_cmd_release_svshold ( char *  nick)

Definition at line 1659 of file inspircd11.c.

void inspircd_cmd_remove_akill ( char *  user,
char *  host 
)

Definition at line 541 of file inspircd11.c.

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

Definition at line 843 of file inspircd11.c.

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

Definition at line 848 of file inspircd11.c.

void inspircd_cmd_sgline ( char *  mask,
char *  reason 
)

Definition at line 1684 of file inspircd11.c.

void inspircd_cmd_sqline ( char *  mask,
char *  reason 
)

Definition at line 1101 of file inspircd11.c.

void inspircd_cmd_squit ( char *  servname,
char *  message 
)

Definition at line 1112 of file inspircd11.c.

void inspircd_cmd_svid_umode ( char *  nick,
time_t  ts 
)

Definition at line 1704 of file inspircd11.c.

void inspircd_cmd_svid_umode2 ( User u,
char *  ts 
)

Definition at line 1720 of file inspircd11.c.

void inspircd_cmd_svid_umode3 ( User u,
char *  ts 
)

Definition at line 1727 of file inspircd11.c.

void inspircd_cmd_svshold ( char *  nick)

Definition at line 1652 of file inspircd11.c.

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

Definition at line 573 of file inspircd11.c.

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

Definition at line 581 of file inspircd11.c.

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

Definition at line 1696 of file inspircd11.c.

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

Definition at line 1137 of file inspircd11.c.

void inspircd_cmd_svsnoop ( char *  server,
int  set 
)

Definition at line 531 of file inspircd11.c.

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

Definition at line 1122 of file inspircd11.c.

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

Definition at line 1677 of file inspircd11.c.

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

Definition at line 547 of file inspircd11.c.

void inspircd_cmd_unban ( char *  name,
char *  nick 
)

Definition at line 1689 of file inspircd11.c.

void inspircd_cmd_unsgline ( char *  mask)

Definition at line 1665 of file inspircd11.c.

void inspircd_cmd_unsqline ( char *  user)

Definition at line 909 of file inspircd11.c.

void inspircd_cmd_unszline ( char *  mask)

Definition at line 1671 of file inspircd11.c.

void inspircd_cmd_vhost_off ( User u)

Definition at line 554 of file inspircd11.c.

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

Definition at line 1149 of file inspircd11.c.

int inspircd_flood_mode_check ( char *  value)

Definition at line 1768 of file inspircd11.c.

int inspircd_jointhrottle_mode_check ( char *  value)

Definition at line 1827 of file inspircd11.c.

void inspircd_set_umode ( User user,
int  ac,
char **  av 
)

Definition at line 401 of file inspircd11.c.

int inspircd_valid_nick ( char *  nick)

Definition at line 1801 of file inspircd11.c.

int is_sid ( char *  sid)

Definition at line 2552 of file inspircd12.c.

void ts6_sid_increment ( unsigned  pos)

Definition at line 2562 of file inspircd12.c.

char* ts6_sid_retrieve ( )

Definition at line 2591 of file inspircd12.c.