#include "Error: Your system must have standard ANSI C headers."
#include "Error: You need vsprintf to compile eggdrop."
#include "Error: You can't compile with module support on this system (try make static)."
#include <time.h>
#include "Error: Must define one of HAVE_RANDOM, HAVE_RAND, or HAVE_LRAND48"
#include "Error: Can't find 32bit type."
Go to the source code of this file.
Data Structures | |
struct | portmap |
struct | dcc_table |
struct | dcc_t |
struct | chat_info |
struct | file_info |
struct | xfer_info |
struct | bot_info |
struct | relay_info |
struct | script_info |
struct | dns_info |
struct | dupwait_info |
struct | log_t |
struct | sock_handler |
struct | tclsock_handler |
struct | sock_list |
Defines | |
#define | HANDLEN 9 |
#define | NICKMAX 32 |
#define | UHOSTMAX 291 + NICKMAX |
#define | DIRMAX 512 |
#define | LOGLINEMAX 767 |
#define | BADNICKCHARS "-,+*=:!.@#;$%&" |
#define | BADHANDCHARS "-,+*=:!.@#;$%&" |
#define | LANGDIR "./language" |
#define | BASELANG "english" |
#define | NICKLEN NICKMAX + 1 |
#define | UHOSTLEN UHOSTMAX + 1 |
#define | DIRLEN DIRMAX + 1 |
#define | LOGLINELEN LOGLINEMAX + 1 |
#define | NOTENAMELEN ((HANDLEN * 2) + 1) |
#define | NAME_MAX 255 |
#define | randint(n) (unsigned long) (random() / (RANDOM_MAX + 1.0) * n) |
#define | sigaction sigvec |
#define | sa_handler sv_handler |
#define | sa_mask sv_mask |
#define | sa_flags sv_flags |
#define | sigemptyset(x) ((*(int *)(x))=0) |
#define | nstrdup(x) n_strdup((x),__FILE__,__LINE__) |
#define | nmalloc(x) n_malloc((x),__FILE__,__LINE__) |
#define | nrealloc(x, y) n_realloc((x),(y),__FILE__,__LINE__) |
#define | nfree(x) n_free((x),__FILE__,__LINE__) |
#define | Context do {} while (0) |
#define | ContextNote(note) do {} while (0) |
#define | Assert(expr) do {} while (0) |
#define | malloc(x) dont_use_old_malloc(x) |
#define | free(x) dont_use_old_free(x) |
#define | debug0(x) putlog(LOG_DEBUG,"*",x) |
#define | debug1(x, a1) putlog(LOG_DEBUG,"*",x,a1) |
#define | debug2(x, a1, a2) putlog(LOG_DEBUG,"*",x,a1,a2) |
#define | debug3(x, a1, a2, a3) putlog(LOG_DEBUG,"*",x,a1,a2,a3) |
#define | debug4(x, a1, a2, a3, a4) putlog(LOG_DEBUG,"*",x,a1,a2,a3,a4) |
#define | egg_isdigit(x) isdigit((int) (unsigned char) (x)) |
#define | egg_isxdigit(x) isxdigit((int) (unsigned char) (x)) |
#define | egg_isascii(x) isascii((int) (unsigned char) (x)) |
#define | egg_isspace(x) isspace((int) (unsigned char) (x)) |
#define | egg_islower(x) islower((int) (unsigned char) (x)) |
#define | RES_HOSTBYIP 1 |
#define | RES_IPBYHOST 2 |
#define | DCT_CHAT 0x00000001 |
#define | DCT_MASTER 0x00000002 |
#define | DCT_SHOWWHO 0x00000004 |
#define | DCT_REMOTEWHO 0x00000008 |
#define | DCT_VALIDIDX 0x00000010 |
#define | DCT_SIMUL 0x00000020 |
#define | DCT_CANBOOT 0x00000040 |
#define | DCT_GETNOTES DCT_CHAT |
#define | DCT_FILES 0x00000080 |
#define | DCT_FORKTYPE 0x00000100 |
#define | DCT_BOT 0x00000200 |
#define | DCT_FILETRAN 0x00000400 |
#define | DCT_FILESEND 0x00000800 |
#define | DCT_LISTEN 0x00001000 |
#define | STAT_ECHO 0x00001 |
#define | STAT_DENY 0x00002 |
#define | STAT_CHAT 0x00004 |
#define | STAT_TELNET 0x00008 |
#define | STAT_PARTY 0x00010 |
#define | STAT_BOTONLY 0x00020 |
#define | STAT_USRONLY 0x00040 |
#define | STAT_PAGE 0x00080 |
#define | STRIP_COLOR 0x00001 |
#define | STRIP_BOLD 0x00002 |
#define | STRIP_REV 0x00004 |
#define | STRIP_UNDER 0x00008 |
#define | STRIP_ANSI 0x00010 |
#define | STRIP_BELLS 0x00020 |
#define | STRIP_ALL 0x0007F |
#define | STAT_PINGED 0x00001 |
#define | STAT_SHARE 0x00002 |
#define | STAT_CALLED 0x00004 |
#define | STAT_OFFERED 0x00008 |
#define | STAT_SENDING 0x00010 |
#define | STAT_GETTING 0x00020 |
#define | STAT_WARNED 0x00040 |
#define | STAT_LEAF 0x00080 |
#define | STAT_LINKING 0x00100 |
#define | STAT_AGGRESSIVE 0x00200 |
#define | LSTN_PUBLIC 0x000001 |
#define | FLOOD_PRIVMSG 0 |
#define | FLOOD_NOTICE 1 |
#define | FLOOD_CTCP 2 |
#define | FLOOD_NICK 3 |
#define | FLOOD_JOIN 4 |
#define | FLOOD_KICK 5 |
#define | FLOOD_DEOP 6 |
#define | FLOOD_CHAN_MAX 7 |
#define | FLOOD_GLOBAL_MAX 3 |
#define | STDIN 0 |
#define | STDOUT 1 |
#define | STDERR 2 |
#define | LOG_MSGS 0x000001 |
#define | LOG_PUBLIC 0x000002 |
#define | LOG_JOIN 0x000004 |
#define | LOG_MODES 0x000008 |
#define | LOG_CMDS 0x000010 |
#define | LOG_MISC 0x000020 |
#define | LOG_BOTS 0x000040 |
#define | LOG_RAW 0x000080 |
#define | LOG_FILES 0x000100 |
#define | LOG_LEV1 0x000200 |
#define | LOG_LEV2 0x000400 |
#define | LOG_LEV3 0x000800 |
#define | LOG_LEV4 0x001000 |
#define | LOG_LEV5 0x002000 |
#define | LOG_LEV6 0x004000 |
#define | LOG_LEV7 0x008000 |
#define | LOG_LEV8 0x010000 |
#define | LOG_SERV 0x020000 |
#define | LOG_DEBUG 0x040000 |
#define | LOG_WALL 0x080000 |
#define | LOG_SRVOUT 0x100000 |
#define | LOG_BOTNET 0x200000 |
#define | LOG_BOTSHARE 0x400000 |
#define | LOG_ALL 0x7fffff |
#define | LF_EXPIRING 0x000001 |
#define | FILEDB_HIDE 1 |
#define | FILEDB_UNHIDE 2 |
#define | FILEDB_SHARE 3 |
#define | FILEDB_UNSHARE 4 |
#define | SOCK_UNUSED 0x0001 |
#define | SOCK_BINARY 0x0002 |
#define | SOCK_LISTEN 0x0004 |
#define | SOCK_CONNECT 0x0008 |
#define | SOCK_NONSOCK 0x0010 |
#define | SOCK_STRONGCONN 0x0020 |
#define | SOCK_EOFD 0x0040 |
#define | SOCK_PROXYWAIT 0x0080 |
#define | SOCK_PASS 0x0100 |
#define | SOCK_VIRTUAL 0x0200 |
#define | SOCK_BUFFER 0x0400 |
#define | SOCK_TCL 0x0800 |
#define | DP_STDOUT 0x7FF1 |
#define | DP_LOG 0x7FF2 |
#define | DP_SERVER 0x7FF3 |
#define | DP_HELP 0x7FF4 |
#define | DP_STDERR 0x7FF5 |
#define | DP_MODE 0x7FF6 |
#define | DP_MODE_NEXT 0x7FF7 |
#define | DP_SERVER_NEXT 0x7FF8 |
#define | DP_HELP_NEXT 0x7FF9 |
#define | NORMAL 0 |
#define | QUICK 1 |
#define | NOTE_ERROR 0 |
#define | NOTE_OK 1 |
#define | NOTE_STORED 2 |
#define | NOTE_FULL 3 |
#define | NOTE_TCL 4 |
#define | NOTE_AWAY 5 |
#define | NOTE_FWD 6 |
#define | NOTE_REJECT 7 |
#define | STR_PROTECT 2 |
#define | STR_DIR 1 |
#define | HELP_DCC 1 |
#define | HELP_TEXT 2 |
#define | HELP_IRC 16 |
#define | TLN_AYT 246 |
#define | TLN_WILL 251 |
#define | TLN_WILL_C "\373" |
#define | TLN_WONT 252 |
#define | TLN_WONT_C "\374" |
#define | TLN_DO 253 |
#define | TLN_DO_C "\375" |
#define | TLN_DONT 254 |
#define | TLN_DONT_C "\376" |
#define | TLN_IAC 255 |
#define | TLN_IAC_C "\377" |
#define | TLN_ECHO 1 |
#define | TLN_ECHO_C "\001" |
#define | TLN_STATUS 5 |
#define | TLN_STATUS_C "\005" |
Typedefs | |
typedef int | socklen_t |
typedef unsigned short int | u_16bit_t |
typedef unsigned char | u_8bit_t |
typedef u_32bit_t | IP |
typedef intptr_t(* | Function )() |
typedef int(* | IntFunc )() |
Enumerations | |
enum | { XFER_SEND, XFER_RESEND, XFER_RESEND_PEND, XFER_RESUME, XFER_RESUME_PEND, XFER_GET } |
enum | { XFER_ACK_UNKNOWN, XFER_ACK_WITH_OFFSET, XFER_ACK_WITHOUT_OFFSET } |
enum | { SOCK_DATA_OUTGOING, SOCK_DATA_INCOMING } |
enum | { EGG_OPTION_SET = 1, EGG_OPTION_UNSET = 2 } |
#define Assert | ( | expr | ) | do {} while (0) |
Definition at line 300 of file eggdrop.h.
Referenced by cmd_botattr(), cmd_chattr(), dupwait_notify(), and global().
#define BADHANDCHARS "-,+*=:!.@#;$%&" |
Definition at line 63 of file eggdrop.h.
Referenced by cmd_adduser(), cmd_chhandle(), cmd_handle(), cmd_pls_bot(), dcc_telnet_new(), tcl_addbot(), tcl_adduser(), and tcl_chhandle().
#define BADNICKCHARS "-,+*=:!.@#;$%&" |
Definition at line 62 of file eggdrop.h.
Referenced by cmd_pls_user().
#define BASELANG "english" |
Definition at line 68 of file eggdrop.h.
Referenced by add_lang_section(), and init_language().
#define Context do {} while (0) |
Definition at line 290 of file eggdrop.h.
Referenced by cmd_woobie(), init_bind(), main(), woobie_close(), woobie_expmem(), and woobie_start().
#define DCT_BOT 0x00000200 |
Definition at line 512 of file eggdrop.h.
Referenced by check_expired_tbufs(), finish_share(), hook_read_userfile(), share_close(), share_userfileq(), shareout_but(), and shareout_mod().
#define DCT_CANBOOT 0x00000040 |
Definition at line 508 of file eggdrop.h.
Referenced by cmd_boot().
#define DCT_CHAT 0x00000001 |
Definition at line 500 of file eggdrop.h.
Referenced by bot_reject(), bot_traced(), cmd_me(), cmd_mns_chan(), dcc_chat(), detect_dcc_flood(), do_boot(), and do_seen().
#define DCT_FILES 0x00000080 |
Definition at line 510 of file eggdrop.h.
Referenced by check_dcc_attrs(), and cmd_boot().
#define DCT_FILESEND 0x00000800 |
Definition at line 514 of file eggdrop.h.
Referenced by cancel_user_xfer(), filesys_dcc_send_hostresolved(), and share_report().
#define DCT_FILETRAN 0x00000400 |
Definition at line 513 of file eggdrop.h.
Referenced by cancel_user_xfer(), filesys_dcc_send_hostresolved(), killtransfer(), and share_report().
#define DCT_GETNOTES DCT_CHAT |
Definition at line 509 of file eggdrop.h.
Referenced by add_note().
#define DCT_LISTEN 0x00001000 |
Definition at line 516 of file eggdrop.h.
Referenced by ctcp_CHAT().
#define DCT_MASTER 0x00000002 |
Definition at line 502 of file eggdrop.h.
Referenced by check_dcc_attrs(), check_dcc_chanattrs(), cmd_banner(), dcc_chat(), and dcc_files().
#define DCT_REMOTEWHO 0x00000008 |
Definition at line 504 of file eggdrop.h.
Referenced by remote_tell_who().
#define DCT_SHOWWHO 0x00000004 |
Definition at line 503 of file eggdrop.h.
Referenced by tell_who().
#define DCT_SIMUL 0x00000020 |
Definition at line 507 of file eggdrop.h.
Referenced by cmd_simul().
#define DCT_VALIDIDX 0x00000010 |
Definition at line 505 of file eggdrop.h.
Referenced by eof_dcc_script(), and findidx().
#define debug0 | ( | x | ) | putlog(LOG_DEBUG,"*",x) |
Definition at line 328 of file eggdrop.h.
Referenced by logsuffix_change(), main(), and parserespacket().
#define debug1 | ( | x, | |||
a1 | ) | putlog(LOG_DEBUG,"*",x,a1) |
Definition at line 329 of file eggdrop.h.
Referenced by add_lang(), add_lang_section(), cmd_tcl(), del_lang(), del_lang_section(), dns_event_failure(), finish_share(), initudef(), queue_server(), start_sending_users(), uff_comp(), uff_uncomp(), and write_channels().
#define debug2 | ( | x, | |||
a1, | |||||
a2 | ) | putlog(LOG_DEBUG,"*",x,a1,a2) |
Definition at line 330 of file eggdrop.h.
Referenced by core_secondly(), dns_event_failure(), dns_event_success(), initudef(), read_lang(), and share_change().
#define debug3 | ( | x, | |||
a1, | |||||
a2, | |||||
a3 | ) | putlog(LOG_DEBUG,"*",x,a1,a2,a3) |
Definition at line 331 of file eggdrop.h.
Referenced by deq_kick(), and read_lang().
#define debug4 | ( | x, | |||
a1, | |||||
a2, | |||||
a3, | |||||
a4 | ) | putlog(LOG_DEBUG,"*",x,a1,a2,a3,a4) |
#define DIRLEN DIRMAX + 1 |
Definition at line 78 of file eggdrop.h.
Referenced by raw_dcc_resend_send().
#define DP_HELP 0x7FF4 |
Definition at line 647 of file eggdrop.h.
Referenced by _dcc_send(), check_tcl_out(), cmd_act(), cmd_msg(), cmd_say(), ctcp_DCC_CHAT(), ctcp_DCC_RESUME(), dcc_chat_hostresolved(), dcc_get_pending(), deq_kick(), deq_msg(), fast_deq(), fileq_cancel(), filesys_DCC_CHAT(), filesys_dcc_send(), filesys_dcc_send_hostresolved(), gotinvite(), gotjoin(), gotmsg(), msg_addhost(), msg_die(), msg_hello(), msg_help(), msg_ident(), msg_info(), msg_invite(), msg_jump(), msg_key(), msg_memory(), msg_pass(), msg_rehash(), msg_reset(), msg_save(), msg_status(), msg_who(), msg_whois(), pub_seen(), queue_server(), send_next_file(), showhelp(), and tell_mem_status().
#define DP_HELP_NEXT 0x7FF9 |
Definition at line 652 of file eggdrop.h.
Referenced by check_tcl_out(), and queue_server().
#define DP_LOG 0x7FF2 |
Definition at line 645 of file eggdrop.h.
Referenced by cmd_loadlanguage().
#define DP_MODE 0x7FF6 |
Definition at line 649 of file eggdrop.h.
Referenced by check_lonely_channel(), check_tcl_out(), deq_kick(), deq_msg(), detect_chan_flood(), fast_deq(), flush_mode(), got432(), gotfake433(), gotjoin(), gotmode(), gotping(), irc_close(), punish_badguy(), queue_server(), recheck_channel(), refresh_who_chan(), reset_chan_info(), server_5minutely(), and server_resolve_success().
#define DP_MODE_NEXT 0x7FF7 |
Definition at line 650 of file eggdrop.h.
Referenced by check_tcl_out(), and queue_server().
#define DP_SERVER 0x7FF3 |
Definition at line 646 of file eggdrop.h.
Referenced by bot_filesend(), check_expired_chanstuff(), check_lonely_channel(), check_tcl_out(), check_this_member(), cmd_dump(), cmd_invite(), cmd_kick(), cmd_kickban(), cmd_topic(), ctcp_CHAT(), ctcp_DCC_RESUME(), deq_kick(), deq_msg(), detect_chan_flood(), do_channel_part(), fast_deq(), flush_mode(), got001(), got303(), got315(), got324(), got403(), got442(), got475(), gotinvite(), gotjoin(), gotkick(), gotmode(), gotmsg(), gotnick(), gotnotice(), gotpart(), gotquit(), irc_start(), kick_all(), minutely_checks(), msg_go(), msg_invite(), msg_key(), msg_seen(), queue_server(), raw_dcc_resend_send(), and server_postrehash().
#define DP_SERVER_NEXT 0x7FF8 |
Definition at line 651 of file eggdrop.h.
Referenced by check_tcl_out(), and queue_server().
#define DP_STDOUT 0x7FF1 |
Definition at line 644 of file eggdrop.h.
Referenced by channels_report(), core_secondly(), dcc_chat(), detect_dcc_flood(), do_boot(), irc_report(), and putlog().
#define egg_isascii | ( | x | ) | isascii((int) (unsigned char) (x)) |
#define egg_isdigit | ( | x | ) | isdigit((int) (unsigned char) (x)) |
Definition at line 335 of file eggdrop.h.
Referenced by dopr(), egg_inet_aton(), str_isdigit(), and strip_mirc_codes().
#define egg_islower | ( | x | ) | islower((int) (unsigned char) (x)) |
Definition at line 339 of file eggdrop.h.
Referenced by egg_inet_aton().
#define egg_isspace | ( | x | ) | isspace((int) (unsigned char) (x)) |
Definition at line 338 of file eggdrop.h.
Referenced by egg_inet_aton(), isowner(), and rmspace().
#define egg_isxdigit | ( | x | ) | isxdigit((int) (unsigned char) (x)) |
Definition at line 336 of file eggdrop.h.
Referenced by egg_inet_aton().
#define FILEDB_HIDE 1 |
Definition at line 614 of file eggdrop.h.
Referenced by filedb_change().
#define FILEDB_SHARE 3 |
Definition at line 616 of file eggdrop.h.
Referenced by filedb_change().
#define FILEDB_UNHIDE 2 |
Definition at line 615 of file eggdrop.h.
Referenced by filedb_change().
#define FILEDB_UNSHARE 4 |
Definition at line 617 of file eggdrop.h.
Referenced by filedb_change().
#define FLOOD_CHAN_MAX 7 |
Definition at line 563 of file eggdrop.h.
Referenced by detect_chan_flood().
#define FLOOD_CTCP 2 |
Definition at line 557 of file eggdrop.h.
Referenced by detect_chan_flood(), detect_flood(), gotmsg(), and gotnotice().
#define FLOOD_DEOP 6 |
Definition at line 561 of file eggdrop.h.
Referenced by detect_chan_flood(), and got_deop().
#define FLOOD_JOIN 4 |
Definition at line 559 of file eggdrop.h.
Referenced by detect_chan_flood(), and gotjoin().
#define FLOOD_KICK 5 |
Definition at line 560 of file eggdrop.h.
Referenced by detect_chan_flood(), and gotkick().
#define FLOOD_NICK 3 |
Definition at line 558 of file eggdrop.h.
Referenced by detect_chan_flood(), and gotnick().
#define FLOOD_NOTICE 1 |
Definition at line 556 of file eggdrop.h.
Referenced by detect_chan_flood(), detect_flood(), and gotnotice().
#define FLOOD_PRIVMSG 0 |
Definition at line 555 of file eggdrop.h.
Referenced by detect_chan_flood(), detect_flood(), gotmsg(), and gotnotice().
#define free | ( | x | ) | dont_use_old_free(x) |
Definition at line 307 of file eggdrop.h.
Referenced by MD5_Final(), MD5_Update(), n_free(), and tcl_eggstr().
#define HANDLEN 9 |
Definition at line 52 of file eggdrop.h.
Referenced by addbot(), addparty(), bot_nlinked(), bot_version(), chanprog(), cmd_adduser(), cmd_boot(), cmd_channel(), cmd_chhandle(), cmd_deluser(), cmd_handle(), cmd_pls_bot(), cmd_pls_user(), dcc_telnet_got_ident(), dcc_telnet_id(), dcc_telnet_new(), do_arg(), greet_new_bot(), msg_hello(), partynick(), share_newuser(), share_pls_ignore(), show_queued_files(), status_tbufs(), tcl_addbot(), tcl_adduser(), tcl_chhandle(), tcl_newignore(), and tell_bots().
#define HELP_DCC 1 |
Definition at line 670 of file eggdrop.h.
Referenced by bot_motd(), and tellhelp().
#define HELP_IRC 16 |
Definition at line 672 of file eggdrop.h.
Referenced by bot_motd(), display_tellhelp(), help_subst(), show_motd(), showhelp(), and sub_lang().
#define HELP_TEXT 2 |
Definition at line 671 of file eggdrop.h.
Referenced by resolve_help(), showhelp(), tcl_dccdumpfile(), tcl_dumpfile(), and tellhelp().
#define LANGDIR "./language" |
Definition at line 67 of file eggdrop.h.
Referenced by get_specific_langfile().
#define LF_EXPIRING 0x000001 |
Definition at line 612 of file eggdrop.h.
Referenced by chanprog(), and tcl_logfile().
#define LOG_ALL 0x7fffff |
Definition at line 608 of file eggdrop.h.
Referenced by core_secondly(), logmodes(), and main().
#define LOG_BOTNET 0x200000 |
Definition at line 606 of file eggdrop.h.
Referenced by dcc_bot(), logmodes(), maskname(), and masktype().
#define LOG_BOTS 0x000040 |
Definition at line 591 of file eggdrop.h.
Referenced by addbot(), bot_bye(), bot_error(), bot_infoq(), bot_linked(), bot_nlinked(), bot_old_userfile(), bot_reject(), bot_thisbot(), bot_ufno(), bot_version(), botlink(), botlink_resolve_failure(), botunlink(), cancel_user_xfer(), check_botnet_pings(), check_expired_tbufs(), cmd_boot(), dcc_bot_check_digest(), dcc_bot_digest(), dcc_bot_new(), dcc_telnet(), dcc_telnet_hostresolved(), dcc_telnet_id(), dcc_telnet_pass(), eof_dcc_bot(), eof_dcc_bot_new(), eof_dcc_dupwait(), failed_link(), fake_alert(), finish_share(), greet_new_bot(), logmodes(), maskname(), masktype(), new_tbuf(), null_share(), remote_tell_who(), share_close(), share_end(), share_resync(), share_resync_no(), share_resyncq(), share_ufno(), share_ufsend(), share_ufyes(), share_userfileq(), start_sending_users(), timeout_dcc_bot_new(), timeout_dupwait(), uf_features_check(), and write_tmp_userfile().
#define LOG_BOTSHARE 0x400000 |
Definition at line 607 of file eggdrop.h.
Referenced by dcc_bot(), logmodes(), maskname(), and masktype().
#define LOG_CMDS 0x000010 |
Definition at line 589 of file eggdrop.h.
Referenced by bot_link(), bot_motd(), bot_reject(), bot_unlink(), botaddr_gotshare(), check_tcl_msg(), cmd_act(), cmd_adduser(), cmd_assoc(), cmd_backup(), cmd_bans(), cmd_binds(), cmd_boot(), cmd_botattr(), cmd_botinfo(), cmd_bots(), cmd_bottree(), cmd_chaddr(), cmd_chaninfo(), cmd_chanload(), cmd_channel(), cmd_chansave(), cmd_chanset(), cmd_chattr(), cmd_chhandle(), cmd_chinfo(), cmd_chpass(), cmd_clearqueue(), cmd_comment(), cmd_console(), cmd_dccstat(), cmd_debug(), cmd_dehalfop(), cmd_deluser(), cmd_deop(), cmd_devoice(), cmd_die(), cmd_dump(), cmd_exempts(), cmd_files(), cmd_fixcodes(), cmd_fwd(), cmd_halfop(), cmd_handle(), cmd_help(), cmd_ignores(), cmd_info(), cmd_invite(), cmd_invites(), cmd_jump(), cmd_kick(), cmd_kickban(), cmd_languagedump(), cmd_languagestatus(), cmd_link(), cmd_loadlanguage(), cmd_loadmod(), cmd_match(), cmd_mns_ban(), cmd_mns_chan(), cmd_mns_chrec(), cmd_mns_exempt(), cmd_mns_host(), cmd_mns_ignore(), cmd_mns_invite(), cmd_mns_noteign(), cmd_mns_user(), cmd_mnslang(), cmd_mnslsec(), cmd_module(), cmd_modules(), cmd_motd(), cmd_msg(), cmd_newpass(), cmd_noteigns(), cmd_notes(), cmd_op(), cmd_page(), cmd_pls_ban(), cmd_pls_bot(), cmd_pls_chan(), cmd_pls_chrec(), cmd_pls_exempt(), cmd_pls_host(), cmd_pls_ignore(), cmd_pls_invite(), cmd_pls_noteign(), cmd_pls_user(), cmd_plslang(), cmd_plslsec(), cmd_rehash(), cmd_rehelp(), cmd_relay(), cmd_reload(), cmd_reset(), cmd_resetbans(), cmd_resetexempts(), cmd_resetinvites(), cmd_restart(), cmd_save(), cmd_say(), cmd_servers(), cmd_set(), cmd_simul(), cmd_status(), cmd_stick_yn(), cmd_strip(), cmd_su(), cmd_topic(), cmd_trace(), cmd_traffic(), cmd_unlink(), cmd_unloadmod(), cmd_uptime(), cmd_vbottree(), cmd_voice(), cmd_who(), cmd_whoami(), cmd_whois(), cmd_whom(), cmd_woobie(), dcc_seen(), def_gotshare(), logmodes(), maskname(), masktype(), msg_addhost(), msg_die(), msg_go(), msg_halfop(), msg_ident(), msg_info(), msg_invite(), msg_jump(), msg_key(), msg_memory(), msg_op(), msg_pass(), msg_rehash(), msg_reset(), msg_save(), msg_seen(), msg_status(), msg_voice(), msg_who(), msg_whois(), share_chattr(), share_chchinfo(), share_chhand(), share_killuser(), share_mns_ban(), share_mns_banchan(), share_mns_chrec(), share_mns_exempt(), share_mns_exemptchan(), share_mns_host(), share_mns_ignore(), share_mns_invite(), share_mns_invitechan(), share_newuser(), share_pls_ban(), share_pls_banchan(), share_pls_bothost(), share_pls_chrec(), share_pls_exempt(), share_pls_exemptchan(), share_pls_host(), share_pls_ignore(), share_pls_invite(), share_pls_invitechan(), share_stick_ban(), share_stick_exempt(), share_stick_invite(), tcl_eggint(), and tcl_putcmdlog().
#define LOG_DEBUG 0x040000 |
Definition at line 603 of file eggdrop.h.
Referenced by global(), init_uptime(), kill_bind(), logmodes(), maskname(), masktype(), and void().
#define LOG_FILES 0x000100 |
Definition at line 593 of file eggdrop.h.
Referenced by _dcc_send(), bot_filereject(), check_tcl_fil(), cmd_cancel(), cmd_chdir(), cmd_desc(), cmd_file_help(), cmd_files(), cmd_filestats(), cmd_hide(), cmd_ln(), cmd_mkdir(), cmd_mv_cp(), cmd_optimize(), cmd_pending(), cmd_pwd(), cmd_reget_get(), cmd_rm(), cmd_rmdir(), cmd_share(), cmd_stats(), cmd_unhide(), cmd_unshare(), convert_old_files(), dcc_files(), dcc_files_pass(), dcc_get_pending(), do_dcc_send(), fileq_cancel(), files_ls(), filesys_DCC_CHAT(), filesys_dcc_send(), logmodes(), maskname(), masktype(), raw_dcc_resend_send(), remote_filereq(), send_next_file(), and tcl_putxferlog().
#define LOG_JOIN 0x000004 |
Definition at line 587 of file eggdrop.h.
Referenced by check_expired_chanstuff(), detect_chan_flood(), got315(), got471(), got473(), got474(), got475(), gotjoin(), gotmode(), gotnick(), gotpart(), gotquit(), gottopic(), logmodes(), maskname(), and masktype().
#define LOG_LEV1 0x000200 |
Definition at line 594 of file eggdrop.h.
Referenced by logmodes(), maskname(), and masktype().
#define LOG_LEV2 0x000400 |
Definition at line 595 of file eggdrop.h.
Referenced by logmodes(), maskname(), and masktype().
#define LOG_LEV3 0x000800 |
Definition at line 596 of file eggdrop.h.
Referenced by logmodes(), maskname(), and masktype().
#define LOG_LEV4 0x001000 |
Definition at line 597 of file eggdrop.h.
Referenced by logmodes(), maskname(), and masktype().
#define LOG_LEV5 0x002000 |
Definition at line 598 of file eggdrop.h.
Referenced by logmodes(), maskname(), and masktype().
#define LOG_LEV6 0x004000 |
Definition at line 599 of file eggdrop.h.
Referenced by logmodes(), maskname(), and masktype().
#define LOG_LEV7 0x008000 |
Definition at line 600 of file eggdrop.h.
Referenced by logmodes(), maskname(), and masktype().
#define LOG_LEV8 0x010000 |
Definition at line 601 of file eggdrop.h.
Referenced by logmodes(), maskname(), and masktype().
#define LOG_MISC 0x000020 |
Definition at line 590 of file eggdrop.h.
Referenced by add_lang_section(), backup_chanfile(), backup_userfile(), bgtclcallback(), bot_error(), botnet_change(), botunlink(), call_hostbyip(), call_ipbyhost(), call_tcl_func(), channels_writeuserfile(), check_dcc_attrs(), check_expired_bans(), check_expired_exempts(), check_expired_invites(), check_logsize(), check_lonely_channel(), cmd_addlog(), cmd_rehash(), cmd_restart(), compress_to_file(), cont_tandem_relay(), convert_old_db(), convert_old_files(), core_secondly(), ctcp_DCC_CHAT(), dcc_chat(), dcc_chat_hostresolved(), dcc_chat_pass(), dcc_files_pass(), dcc_fork_send(), dcc_relaying(), dcc_telnet(), dcc_telnet_got_ident(), dcc_telnet_hostresolved(), dcc_telnet_new(), dcc_telnet_pass(), dcc_telnet_pw(), detect_chan_flood(), detect_flood(), detect_telnet_flood(), dnstclcallback(), do_dcc_send(), eof_dcc_chat(), eof_dcc_dnswait(), eof_dcc_general(), eof_dcc_ident(), eof_dcc_identwait(), eof_dcc_relay(), eof_dcc_relaying(), eof_dcc_script(), eof_dcc_telnet(), eof_dcc_telnet_id(), eof_dcc_telnet_new(), eof_dcc_telnet_pw(), eof_dns_socket(), expire_notes(), failed_pre_relay(), failed_tandem_relay(), fatal(), filedb_open(), filedb_update(), filesys_close(), filesys_DCC_CHAT(), filesys_dcc_send(), finish_share(), got001(), got303(), got315(), got324(), got403(), got405(), got432(), got433(), got437(), got438(), got442(), got451(), got_dehalfop(), got_deop(), got_halfop(), got_hup(), got_ill(), got_op(), got_quit(), got_term(), gotfake433(), gotinvite(), gotjoin(), gotmode(), gotmsg(), gotnick(), gotpart(), gotquit(), increase_socks_max(), init_dns_core(), init_dns_network(), int(), killmember(), logmodes(), main(), mainloop(), maskname(), masktype(), msg_hello(), n_free(), n_malloc(), n_realloc(), notes_change(), pre_relay(), punish_badguy(), putlog(), queue_server(), read_channels(), read_lang(), reload(), resetmasks(), send_next_file(), share_close(), share_ufsend(), status_log(), tandem_relay_resolve_failure(), tcl_eggint(), tcl_loadmodule(), tcl_putlog(), timeout_dcc_telnet_id(), tout_dcc_chat_pass(), tout_dcc_telnet_new(), tout_dcc_telnet_pw(), transfer_close(), u_addban(), uff_addfeature(), uncompress_to_file(), write_channels(), and write_tmp_userfile().
#define LOG_MODES 0x000008 |
Definition at line 588 of file eggdrop.h.
Referenced by check_expired_chanstuff(), detect_chan_flood(), got_dehalfop(), got_deop(), gotkick(), gotmode(), gotmsg(), gotnotice(), logmodes(), maskname(), masktype(), and tcl_eggint().
#define LOG_MSGS 0x000001 |
Definition at line 585 of file eggdrop.h.
Referenced by goterror(), gotmsg(), gotnotice(), logmodes(), maskname(), and masktype().
#define LOG_PUBLIC 0x000002 |
Definition at line 586 of file eggdrop.h.
Referenced by do_seen(), gotmsg(), gotnotice(), logmodes(), maskname(), and masktype().
#define LOG_RAW 0x000080 |
Definition at line 592 of file eggdrop.h.
Referenced by logmodes(), maskname(), masktype(), and server_activity().
#define LOG_SERV 0x020000 |
Definition at line 602 of file eggdrop.h.
Referenced by connect_server(), eof_server(), got251(), got465(), goterror(), gotmsg(), gotnick(), gotnotice(), logmodes(), maskname(), masktype(), server_5minutely(), server_activity(), server_resolve_failure(), server_resolve_success(), and timeout_server().
#define LOG_SRVOUT 0x100000 |
Definition at line 605 of file eggdrop.h.
Referenced by calc_penalty(), deq_kick(), deq_msg(), fast_deq(), gotkick(), logmodes(), maskname(), masktype(), purge_kicks(), queue_server(), and whoispenalty().
#define LOG_WALL 0x080000 |
Definition at line 604 of file eggdrop.h.
Referenced by gotwall(), logmodes(), maskname(), and masktype().
#define LSTN_PUBLIC 0x000001 |
Definition at line 552 of file eggdrop.h.
Referenced by dcc_telnet_got_ident(), and display_telnet().
#define malloc | ( | x | ) | dont_use_old_malloc(x) |
Definition at line 305 of file eggdrop.h.
Referenced by n_malloc(), and tcl_eggstr().
#define NAME_MAX 255 |
Definition at line 178 of file eggdrop.h.
Referenced by mktempfile().
#define nfree | ( | x | ) | n_free((x),__FILE__,__LINE__) |
Definition at line 284 of file eggdrop.h.
Referenced by add_lang_section(), add_message(), addparty(), append_line(), bgtclcallback(), blowfish_init(), botaddr_kill(), botaddr_pack(), botaddr_set(), botaddr_tcl_set(), botfl_kill(), botlink_resolve_failure(), botlink_resolve_success(), call_hostbyip(), call_ipbyhost(), changeover_dcc(), channels_close(), chanprog(), check_dcc_attrs(), check_delay(), clear_masks(), clearq(), cmd_botattr(), cmd_chanset(), cmd_chattr(), cmd_loadlanguage(), cmd_mns_noteign(), cmd_noteigns(), cmd_onwire(), cmd_pls_noteign(), cmd_putwire(), cmd_su(), compress_file(), console_kill(), console_pack(), console_set(), console_store(), console_tcl_set(), cron_match(), dcc_chat(), dcc_chat_pass(), dcc_relaying(), dcc_script(), dcc_telnet_pass(), decrypt_string(), def_kill(), def_set(), del_chanrec(), del_lang(), del_lang_section(), del_tbuf(), delay_free_mem(), deq_kick(), deq_msg(), deq_this(), disconnect_server(), dns_dcchostbyip(), dns_free_cache(), dns_tcl_iporhostres(), dnstclcallback(), do_check_timers(), dorequest(), encrypt_string(), eof_dcc_relay(), eof_dcc_script(), failed_tandem_relay(), fast_deq(), fileq_cancel(), flush_lines(), flush_mode(), free_dcc_bot_(), free_udef(), free_udef_chans(), freeuser(), fstat_kill(), fstat_pack(), fstat_set(), get_langfile(), get_specific_langfile(), global(), got001(), got475(), got_unban(), got_unexempt(), got_uninvite(), gotjoin(), help_subst(), hosts_kill(), hosts_set(), int(), kill_all_assoc(), kill_assoc(), kill_dcc_dnswait(), kill_dcc_general(), kill_dcc_script(), kill_dupwait(), kill_relay(), kill_tcl(), killmember(), laston_kill(), laston_pack(), laston_set(), lostdcc(), mainloop(), msgq_clear(), newmask(), not_away(), parse_q(), partyaway(), pass_set(), pre_relay(), purge_kicks(), raw_dcc_resend_send(), read_lang(), real_add_mode(), recheck_lang_sections(), reload_help_data(), rem_help_reference(), rembot(), remove_channel(), remove_timer(), removedcc(), remparty(), reset_chan_info(), send_next_file(), send_uptime(), set_away(), set_handle_chaninfo(), set_key(), set_topic(), share_change(), subst_addcol(), sync_members(), tandem_relay_resolve_failure(), tcl_bind_list_delete(), tcl_bind_mask_delete(), tcl_cmd_delete(), tcl_logfile(), tcl_setuser(), u_addban(), u_addexempt(), u_addinvite(), u_delban(), u_delexempt(), u_delinvite(), uf_features_check(), uf_features_parse(), uff_delfeature(), uncompress_file(), unlinkresolve(), unlinkresolvehost(), void(), wipe_timers(), wire_close(), wire_display(), wire_filter(), wire_join(), wire_leave(), write_bans(), write_exempts(), and write_invites().
#define NICKLEN NICKMAX + 1 |
Definition at line 76 of file eggdrop.h.
Referenced by cmd_reget_get(), got001(), gotnick(), msg_ident(), raw_dcc_resend_send(), server_postrehash(), server_start(), and tcl_dumpfile().
#define NICKMAX 32 |
Definition at line 53 of file eggdrop.h.
Referenced by _dcc_send(), do_dcc_send(), got432(), gotquit(), msg_ident(), and msg_whois().
#define nmalloc | ( | x | ) | n_malloc((x),__FILE__,__LINE__) |
Definition at line 282 of file eggdrop.h.
Referenced by _get_data_ptr(), _malloc_fdbe(), _user_malloc(), add_assoc(), add_delay(), add_help_reference(), add_lang(), add_lang_section(), add_message(), add_server(), add_timer(), addbot(), addparty(), allocresolve(), bind_bind_entry(), blowfish_init(), changeover_dcc(), channel_malloc(), cmd_botattr(), cmd_chanset(), cmd_chattr(), cmd_desc(), cmd_file_help(), cmd_loadlanguage(), cmd_mkdir(), cmd_mns_noteign(), cmd_mv_cp(), cmd_pls_noteign(), cmd_reget_get(), cmd_rm(), cmd_rmdir(), compress_file(), convert_old_db(), convert_old_files(), cron_match(), dcc_dnshostbyip(), dcc_dnsipbyhost(), decrypt_string(), deq_kick(), dns_forward(), do_dcc_send(), dorequest(), egg_strdup(), encrypt_string(), filedb_getdesc(), filedb_getowner(), filedb_ls(), filedb_open(), filedb_update(), filelist_add(), filelist_addout(), filelist_new(), files_reget(), filesys_dcc_send(), filesys_dcc_send_hostresolved(), get_specific_langfile(), global(), got001(), gotjoin(), help_subst(), increase_socks_max(), init_bots(), init_misc(), init_modules(), initudef(), mktempfile(), n_malloc_null(), new_dcc(), new_tbuf(), next_server(), parse_q(), parserespacket(), partyaway(), purge_kicks(), q_addmsg(), queue_file(), queue_server(), read_lang(), rembot(), remote_filereq(), replace_spaces(), resolve_dir(), scan_help_file(), send_next_file(), send_uptime(), set_away(), setudef(), share_ufsend(), str_dup(), str_escape(), subst_addcol(), tcl_dnshostbyip(), tcl_dnsipbyhost(), tcl_logfile(), u_delban(), u_delexempt(), u_delinvite(), uf_features_check(), uf_features_parse(), uff_addfeature(), uncompress_file(), void(), and wire_join().
#define NORMAL 0 |
Definition at line 654 of file eggdrop.h.
Referenced by flush_modes(), and real_add_mode().
#define NOTE_AWAY 5 |
Definition at line 663 of file eggdrop.h.
Referenced by add_note(), and bot_priv().
#define NOTE_ERROR 0 |
Definition at line 658 of file eggdrop.h.
Referenced by add_note(), and bot_priv().
#define NOTE_FULL 3 |
Definition at line 661 of file eggdrop.h.
Referenced by bot_priv().
#define NOTE_FWD 6 |
Definition at line 664 of file eggdrop.h.
Referenced by add_note(), and bot_priv().
#define NOTE_OK 1 |
Definition at line 659 of file eggdrop.h.
Referenced by add_note(), and bot_priv().
#define NOTE_REJECT 7 |
Definition at line 665 of file eggdrop.h.
Referenced by add_note(), and bot_priv().
#define NOTE_STORED 2 |
Definition at line 660 of file eggdrop.h.
Referenced by add_note(), and bot_priv().
#define NOTE_TCL 4 |
Definition at line 662 of file eggdrop.h.
Referenced by add_note(), and bot_priv().
#define NOTENAMELEN ((HANDLEN * 2) + 1) |
Definition at line 80 of file eggdrop.h.
Referenced by botnet_send_reject(), cmd_trace(), and tcl_sendnote().
#define nrealloc | ( | x, | |||
y | ) | n_realloc((x),(y),__FILE__,__LINE__) |
Definition at line 283 of file eggdrop.h.
Referenced by _user_realloc(), addparty(), cmd_reget_get(), convert_old_files(), do_dcc_send(), filelist_add(), filelist_addout(), fileq_cancel(), files_reget(), get_specific_langfile(), increase_socks_max(), init_misc(), read_lang(), resolve_dir(), send_next_file(), str_escape(), and subst_addcol().
#define QUICK 1 |
Definition at line 655 of file eggdrop.h.
Referenced by check_exemptlist(), do_mask(), flush_mode(), kick_all(), and punish_badguy().
#define randint | ( | n | ) | (unsigned long) (random() / (RANDOM_MAX + 1.0) * n) |
Definition at line 257 of file eggdrop.h.
Referenced by add_delay(), gotfake433(), make_rand_str(), makepass(), set_delay(), and tcl_rand().
#define RES_HOSTBYIP 1 |
Definition at line 491 of file eggdrop.h.
Referenced by call_hostbyip(), ctcp_DCC_CHAT(), dcc_dnshostbyip(), dcc_telnet(), dns_dcchostbyip(), filesys_dcc_send(), and tcl_dnshostbyip().
#define RES_IPBYHOST 2 |
Definition at line 492 of file eggdrop.h.
Referenced by botlink(), call_ipbyhost(), connect_server(), dcc_dnsipbyhost(), dns_dccipbyhost(), dnsevent_expmem(), tandem_relay(), and tcl_dnsipbyhost().
#define sigemptyset | ( | x | ) | ((*(int *)(x))=0) |
#define SOCK_BINARY 0x0002 |
Definition at line 622 of file eggdrop.h.
Referenced by filesys_dcc_send_hostresolved(), and share_ufsend().
#define SOCK_BUFFER 0x0400 |
Definition at line 632 of file eggdrop.h.
Referenced by dcc_telnet(), and dcc_telnet_got_ident().
#define SOCK_PASS 0x0100 |
Definition at line 629 of file eggdrop.h.
Referenced by init_dns_network().
#define SOCK_STRONGCONN 0x0020 |
Definition at line 626 of file eggdrop.h.
Referenced by botlink_resolve_success(), failed_link(), failed_tandem_relay(), and tandem_relay().
#define SOCK_TCL 0x0800 |
Definition at line 633 of file eggdrop.h.
Referenced by expmem_net().
#define SOCK_UNUSED 0x0001 |
Definition at line 621 of file eggdrop.h.
Referenced by expmem_net(), and increase_socks_max().
#define SOCK_VIRTUAL 0x0200 |
Definition at line 631 of file eggdrop.h.
Referenced by tandem_relay().
#define STAT_AGGRESSIVE 0x00200 |
Definition at line 549 of file eggdrop.h.
Referenced by display_dcc_bot(), hook_read_userfile(), share_close(), share_end(), share_report(), share_ufno(), share_userfileq(), share_version(), and start_sending_users().
#define STAT_BOTONLY 0x00020 |
Definition at line 525 of file eggdrop.h.
Referenced by dcc_telnet_got_ident(), and dcc_telnet_id().
#define STAT_CALLED 0x00004 |
Definition at line 541 of file eggdrop.h.
Referenced by dcc_chat_pass(), dcc_telnet_pass(), display_dcc_bot(), remote_tell_who(), and tell_who().
#define STAT_CHAT 0x00004 |
Definition at line 522 of file eggdrop.h.
Referenced by check_dcc_attrs(), cmd_files(), dcc_chat_pass(), dcc_files(), display_dcc_chat(), tell_who(), and welcome_to_files().
#define STAT_ECHO 0x00001 |
Definition at line 519 of file eggdrop.h.
Referenced by cmd_echo(), cmd_fixcodes(), cmd_me(), cmd_note(), console_chon(), console_store(), dcc_chat(), dcc_chat_hostresolved(), dcc_files(), dcc_telnet_got_ident(), dcc_telnet_new(), display_dcc_chat(), filesys_DCC_CHAT(), and main().
#define STAT_GETTING 0x00020 |
Definition at line 544 of file eggdrop.h.
Referenced by bot_ufno(), botaddr_gotshare(), cancel_user_xfer(), display_dcc_bot(), null_share(), share_change(), share_chattr(), share_close(), share_end(), share_endstartup(), share_pls_bothost(), share_report(), share_ufno(), share_ufsend(), share_userfileq(), share_version(), shareout_but(), shareout_mod(), and tcl_getting_users().
#define STAT_LEAF 0x00080 |
Definition at line 546 of file eggdrop.h.
Referenced by bot_thisbot(), check_botnet_pings(), check_dcc_attrs(), display_dcc_bot(), and greet_new_bot().
#define STAT_LINKING 0x00100 |
Definition at line 547 of file eggdrop.h.
Referenced by bot_away(), bot_endlink(), bot_join(), display_dcc_bot(), and greet_new_bot().
#define STAT_OFFERED 0x00008 |
Definition at line 542 of file eggdrop.h.
Referenced by bot_ufno(), check_expired_tbufs(), display_dcc_bot(), hook_read_userfile(), null_share(), share_close(), share_end(), share_resync(), share_resyncq(), share_ufno(), share_ufyes(), and share_version().
#define STAT_PAGE 0x00080 |
Definition at line 527 of file eggdrop.h.
Referenced by append_line(), cmd_page(), console_chon(), console_store(), dcc_chat(), dcc_files(), display_dcc_chat(), and out_dcc_general().
#define STAT_PARTY 0x00010 |
Definition at line 524 of file eggdrop.h.
Referenced by check_dcc_attrs(), dcc_chat_hostresolved(), dcc_telnet_pass(), and display_dcc_chat().
#define STAT_PINGED 0x00001 |
Definition at line 539 of file eggdrop.h.
Referenced by bot_pong(), check_botnet_pings(), and display_dcc_bot().
#define STAT_SENDING 0x00010 |
Definition at line 543 of file eggdrop.h.
Referenced by cancel_user_xfer(), display_dcc_bot(), hook_read_userfile(), share_close(), share_end(), share_report(), share_ufyes(), share_version(), shareout_but(), shareout_mod(), and start_sending_users().
#define STAT_SHARE 0x00002 |
Definition at line 540 of file eggdrop.h.
Referenced by bot_ufno(), botunlink(), cancel_user_xfer(), check_expired_tbufs(), display_dcc_bot(), hook_read_userfile(), null_share(), remote_tell_who(), share_change(), share_chattr(), share_chchinfo(), share_chhand(), share_close(), share_end(), share_killuser(), share_mns_ban(), share_mns_banchan(), share_mns_chrec(), share_mns_exempt(), share_mns_exemptchan(), share_mns_host(), share_mns_ignore(), share_mns_invite(), share_mns_invitechan(), share_newuser(), share_pls_ban(), share_pls_banchan(), share_pls_bothost(), share_pls_chrec(), share_pls_exempt(), share_pls_exemptchan(), share_pls_host(), share_pls_ignore(), share_pls_invite(), share_pls_invitechan(), share_report(), share_resync(), share_resyncq(), share_stick_ban(), share_stick_exempt(), share_stick_invite(), share_ufno(), share_ufsend(), share_ufyes(), share_userfileq(), share_version(), shareout_but(), shareout_mod(), start_sending_users(), and tell_who().
#define STAT_TELNET 0x00008 |
Definition at line 523 of file eggdrop.h.
Referenced by cmd_fixcodes(), cmd_motd(), cmd_su(), dcc_chat(), dcc_chat_pass(), dcc_files_pass(), dcc_relay(), dcc_relaying(), dcc_script(), dcc_telnet_got_ident(), dcc_telnet_id(), dcc_telnet_new(), dcc_telnet_pass(), dcc_telnet_pw(), display_dcc_chat(), display_tellhelp(), eof_dcc_relay(), flush_lines(), out_dcc_general(), show_motd(), and sub_lang().
#define STAT_USRONLY 0x00040 |
Definition at line 526 of file eggdrop.h.
Referenced by dcc_telnet_got_ident(), and dcc_telnet_id().
#define STAT_WARNED 0x00040 |
Definition at line 545 of file eggdrop.h.
Referenced by check_botnet_pings(), check_dcc_attrs(), and display_dcc_bot().
#define STDOUT 1 |
Definition at line 568 of file eggdrop.h.
Referenced by dcc_chat(), detect_dcc_flood(), do_boot(), failed_pre_relay(), main(), and mainloop().
#define STRIP_ALL 0x0007F |
Definition at line 536 of file eggdrop.h.
Referenced by main(), and stripmodes().
#define STRIP_ANSI 0x00010 |
Definition at line 534 of file eggdrop.h.
Referenced by strip_mirc_codes(), stripmaskname(), stripmasktype(), stripmodes(), and tcl_stripcodes().
#define STRIP_BELLS 0x00020 |
Definition at line 535 of file eggdrop.h.
Referenced by strip_mirc_codes(), stripmaskname(), stripmasktype(), stripmodes(), and tcl_stripcodes().
#define STRIP_BOLD 0x00002 |
Definition at line 531 of file eggdrop.h.
Referenced by cmd_strip(), strip_mirc_codes(), stripmaskname(), stripmasktype(), stripmodes(), and tcl_stripcodes().
#define STRIP_COLOR 0x00001 |
Definition at line 530 of file eggdrop.h.
Referenced by strip_mirc_codes(), stripmaskname(), stripmasktype(), stripmodes(), and tcl_stripcodes().
#define STRIP_REV 0x00004 |
Definition at line 532 of file eggdrop.h.
Referenced by strip_mirc_codes(), stripmaskname(), stripmasktype(), stripmodes(), and tcl_stripcodes().
#define STRIP_UNDER 0x00008 |
Definition at line 533 of file eggdrop.h.
Referenced by strip_mirc_codes(), stripmaskname(), stripmasktype(), stripmodes(), and tcl_stripcodes().
#define TLN_AYT 246 |
Definition at line 708 of file eggdrop.h.
Referenced by strip_telnet().
#define TLN_DO 253 |
Definition at line 713 of file eggdrop.h.
Referenced by detect_telnet(), and strip_telnet().
#define TLN_DONT 254 |
Definition at line 715 of file eggdrop.h.
Referenced by detect_telnet(), and strip_telnet().
#define TLN_DONT_C "\376" |
Definition at line 716 of file eggdrop.h.
Referenced by strip_telnet().
#define TLN_ECHO 1 |
Definition at line 721 of file eggdrop.h.
Referenced by strip_telnet().
#define TLN_ECHO_C "\001" |
Definition at line 722 of file eggdrop.h.
Referenced by cmd_su(), dcc_chat_pass(), dcc_relaying(), dcc_telnet_pass(), and eof_dcc_relay().
#define TLN_IAC 255 |
Definition at line 717 of file eggdrop.h.
Referenced by detect_telnet(), escape_telnet(), and strip_telnet().
#define TLN_IAC_C "\377" |
Definition at line 718 of file eggdrop.h.
Referenced by cmd_su(), dcc_chat_pass(), dcc_relaying(), dcc_telnet_got_ident(), dcc_telnet_pass(), eof_dcc_relay(), and strip_telnet().
#define TLN_STATUS 5 |
Definition at line 723 of file eggdrop.h.
Referenced by detect_telnet().
#define TLN_STATUS_C "\005" |
Definition at line 724 of file eggdrop.h.
Referenced by dcc_telnet_got_ident().
#define TLN_WILL 251 |
Definition at line 709 of file eggdrop.h.
Referenced by strip_telnet().
#define TLN_WILL_C "\373" |
Definition at line 710 of file eggdrop.h.
Referenced by cmd_su(), dcc_telnet_got_ident(), and dcc_telnet_pass().
#define TLN_WONT_C "\374" |
Definition at line 712 of file eggdrop.h.
Referenced by dcc_chat_pass(), dcc_relaying(), eof_dcc_relay(), and strip_telnet().
#define UHOSTLEN UHOSTMAX + 1 |
Definition at line 77 of file eggdrop.h.
Referenced by add_bot_hostmask(), addr_match(), block_dns_hostbyip(), check_chanlist(), check_expired_chanstuff(), check_lonely_channel(), check_this_ban(), check_this_member(), check_this_user(), cmd_adduser(), cmd_channel(), cmd_dehalfop(), cmd_deluser(), cmd_deop(), cmd_devoice(), cmd_halfop(), cmd_kick(), cmd_kickban(), cmd_mns_ban(), cmd_mns_exempt(), cmd_mns_ignore(), cmd_mns_invite(), cmd_op(), cmd_pls_ban(), cmd_pls_exempt(), cmd_pls_ignore(), cmd_pls_invite(), cmd_stick_yn(), cmd_voice(), connect_server(), dcc_get_pending(), dcc_ident(), dcc_telnet(), dcc_telnet_got_ident(), dcc_telnet_hostresolved(), detect_chan_flood(), dns_event_failure(), enforce_bans(), eof_dcc_ident(), expired_mask(), getnick(), global(), got352or4(), got_ban(), got_dehalfop(), got_deop(), got_exempt(), got_halfop(), got_invite(), got_op(), gotjoin(), gotkick(), gotmode(), gotmsg(), gotnick(), hand_on_chan(), kick_all(), mask_match(), msg_hello(), msg_ident(), msg_who(), msg_whois(), punish_badguy(), recheck_channel(), refresh_ban_kick(), send_uptime(), set_chanlist(), tcl_newignore(), tell_bans(), tell_exempts(), and tell_invites().
#define UHOSTMAX 291 + NICKMAX |
Definition at line 57 of file eggdrop.h.
Referenced by cmd_chaddr(), cmd_pls_ban(), cmd_pls_exempt(), cmd_pls_ignore(), cmd_pls_invite(), and gotquit().
anonymous enum |
Definition at line 435 of file eggdrop.h.
00435 { /* transfer connection handling a ... */ 00436 XFER_SEND, /* ... normal file-send to s.o. */ 00437 XFER_RESEND, /* ... file-resend to s.o. */ 00438 XFER_RESEND_PEND, /* ... (as above) and waiting for info */ 00439 XFER_RESUME, /* ... file-send-resume to s.o. */ 00440 XFER_RESUME_PEND, /* ... (as above) and waiting for conn */ 00441 XFER_GET /* ... file-get from s.o. */ 00442 };
anonymous enum |
Definition at line 444 of file eggdrop.h.
00444 { 00445 XFER_ACK_UNKNOWN, /* We don't know how blocks are acked. */ 00446 XFER_ACK_WITH_OFFSET, /* Skipped data is also counted as 00447 * received. */ 00448 XFER_ACK_WITHOUT_OFFSET /* Skipped data is NOT counted in ack. */ 00449 };
anonymous enum |
Definition at line 637 of file eggdrop.h.
00637 { 00638 SOCK_DATA_OUTGOING, /* Data in out-queue? */ 00639 SOCK_DATA_INCOMING /* Data in in-queue? */ 00640 };
anonymous enum |
Definition at line 699 of file eggdrop.h.
00699 { 00700 EGG_OPTION_SET = 1, /* Set option(s). */ 00701 EGG_OPTION_UNSET = 2 /* Unset option(s). */ 00702 };