#include "lush.h"
#include <varargs.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "lang.h"
#include "eggdrop.h"
#include "flags.h"
#include "proto.h"
#include "cmdt.h"
#include "tclegg.h"
#include "tclhash.h"
#include "chan.h"
#include "users.h"
#include "compat/compat.h"
Go to the source code of this file.
Defines | |
#define | EGG_CONST |
#define | TCL_CONST86 |
#define | EGG_VARARGS(type, name) () |
#define | EGG_VARARGS_DEF(type, name) (va_alist) va_dcl |
#define | EGG_VARARGS_START(type, name, list) (va_start(list), va_arg(list,type)) |
#define | Tcl_Free(x) n_free(x, "", 0) |
#define | TCL_PATCH_LEVEL Tcl_GetVar(interp, "tcl_patchLevel", TCL_GLOBAL_ONLY) |
#define | iptolong(a) (0xffffffff & (long) (htonl((unsigned long) a))) |
#define | fixcolon(x) |
#define | strncpyz(_target, _source, _len) |
Variables | |
struct dcc_table DCC_CHAT DCC_BOT DCC_LOST DCC_SCRIPT DCC_BOT_NEW DCC_RELAY DCC_RELAYING DCC_FORK_RELAY DCC_PRE_RELAY DCC_CHAT_PASS DCC_FORK_BOT DCC_SOCKET DCC_TELNET_ID DCC_TELNET_NEW DCC_TELNET_PW DCC_TELNET DCC_IDENT DCC_IDENTWAIT | DCC_DNSWAIT |
#define EGG_CONST |
Definition at line 67 of file main.h.
Referenced by cmd_pls_chan(), dns_change(), dns_tcl_iporhostres(), int(), list_timers(), server_start(), tcl_binds(), tcl_eggserver(), tcl_ignorelist(), tcl_modules(), and traced_globchanset().
#define EGG_VARARGS_START | ( | type, | |||
name, | |||||
list | ) | (va_start(list), va_arg(list,type)) |
Definition at line 89 of file main.h.
Referenced by EGG_VARARGS_DEF(), putlog(), shareout_but(), and shareout_mod().
#define fixcolon | ( | x | ) |
do { \ if ((x)[0] == ':') \ (x)++; \ else \ (x) = newsplit(&(x)); \ } while (0)
Definition at line 141 of file main.h.
Referenced by got001(), got251(), got303(), got332(), got438(), got465(), gotinvite(), gotjoin(), gotkick(), gotmode(), gotmsg(), gotnick(), gotnotice(), gotpart(), gotping(), gotpong(), gotquit(), gottopic(), and gotwall().
#define iptolong | ( | a | ) | (0xffffffff & (long) (htonl((unsigned long) a))) |
Definition at line 140 of file main.h.
Referenced by ctcp_CHAT(), dcc_chat_hostresolved(), filesys_dcc_send_hostresolved(), main(), raw_dcc_resend_send(), remote_filereq(), start_sending_users(), and tcl_myip().
#define strncpyz | ( | _target, | |||
_source, | |||||
_len | ) |
do { \ strncpy((_target), (_source), (_len) - 1); \ (_target)[(_len) - 1] = 0; \ } while (0)
Definition at line 151 of file main.h.
Referenced by add_assoc(), add_delay(), block_dns_hostbyip(), bot_version(), chanprog(), check_chanlist(), cmd_adduser(), cmd_chaddr(), cmd_channel(), cmd_chhandle(), cmd_console(), cmd_deluser(), cmd_die(), cmd_handle(), cmd_jump(), cmd_mns_ban(), cmd_mns_exempt(), cmd_mns_ignore(), cmd_mns_invite(), cmd_pls_ban(), cmd_pls_exempt(), cmd_pls_invite(), cmd_stick_yn(), connect_server(), core_secondly(), dcc_chat(), dcc_telnet_got_ident(), dcc_telnet_hostresolved(), def_set(), deq_kick(), do_arg(), fast_deq(), global(), got001(), gotmsg(), gotnick(), help_subst(), init_uptime(), int(), main(), msg_hello(), msg_status(), next_server(), parse_q(), purge_kicks(), putlog(), raw_dcc_resend_send(), reaffirm_owners(), rembot(), send_uptime(), server_postrehash(), server_start(), set_chanlist(), set_user_flagrec(), splitcn(), sub_lang(), tcl_chhandle(), tcl_ctime(), tcl_die(), tcl_dumpfile(), tcl_newignore(), tcl_putcmdlog(), tcl_putlog(), tcl_putloglev(), tcl_putxferlog(), tcl_sendnote(), u_delban(), u_delexempt(), and u_delinvite().
#define Tcl_Free | ( | x | ) | n_free(x, "", 0) |
Definition at line 124 of file main.h.
Referenced by cmd_pls_chan(), dns_change(), dns_tcl_iporhostres(), list_timers(), tcl_binds(), tcl_eggserver(), tcl_ignorelist(), tcl_modules(), and traced_globchanset().
#define TCL_PATCH_LEVEL Tcl_GetVar(interp, "tcl_patchLevel", TCL_GLOBAL_ONLY) |
Definition at line 129 of file main.h.
Referenced by tell_verbose_status().