src/mod/module.h File Reference

#include "src/main.h"
#include "modvals.h"
#include "src/tandem.h"
Include dependency graph for module.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define EXPORT_SCOPE
#define EGG_IS_MIN_VER(ver)   ((ver) <= EGG_VERSION)
#define EGG_IS_MAX_VER(ver)   ((ver) >= EGG_VERSION)
#define nmalloc(x)   (((void *(*)())global[0])((x),MODULE_NAME,__FILE__,__LINE__))
#define nfree(x)   (global[1]((x),MODULE_NAME,__FILE__,__LINE__))
#define Context   do {} while (0)
#define module_rename   ((int (*)(char *, char *))global[3])
#define module_register   ((int (*)(char *, Function *, int, int))global[4])
#define module_find   ((module_entry * (*)(char *,int,int))global[5])
#define module_depend   ((Function *(*)(char *,char *,int,int))global[6])
#define module_undepend   ((int(*)(char *))global[7])
#define add_bind_table   ((p_tcl_bind_list(*)(const char *,int,IntFunc))global[8])
#define del_bind_table   ((void (*) (p_tcl_bind_list))global[9])
#define find_bind_table   ((p_tcl_bind_list(*)(const char *))global[10])
#define check_tcl_bind   ((int (*) (p_tcl_bind_list,const char *,struct flag_record *,const char *, int))global[11])
#define add_builtins   ((int (*) (p_tcl_bind_list, cmd_t *))global[12])
#define rem_builtins   ((int (*) (p_tcl_bind_list, cmd_t *))global[13])
#define add_tcl_commands   ((void (*) (tcl_cmds *))global[14])
#define rem_tcl_commands   ((void (*) (tcl_cmds *))global[15])
#define add_tcl_ints   ((void (*) (tcl_ints *))global[16])
#define rem_tcl_ints   ((void (*) (tcl_ints *))global[17])
#define add_tcl_strings   ((void (*) (tcl_strings *))global[18])
#define rem_tcl_strings   ((void (*) (tcl_strings *))global[19])
#define base64_to_int   ((int (*) (char *))global[20])
#define int_to_base64   ((char * (*) (int))global[21])
#define int_to_base10   ((char * (*) (int))global[22])
#define simple_sprintf   ((int (*)())global[23])
#define botnet_send_zapf   ((void (*)(int, char *, char *, char *))global[24])
#define botnet_send_zapf_broad   ((void (*)(int, char *, char *, char *))global[25])
#define botnet_send_unlinked   ((void (*)(int, char *, char *))global[26])
#define botnet_send_bye   ((void(*)(void))global[27])
#define botnet_send_chat   ((void(*)(int,char*,char*))global[28])
#define botnet_send_filereject   ((void(*)(int,char*,char*,char*))global[29])
#define botnet_send_filesend   ((void(*)(int,char*,char*,char*))global[30])
#define botnet_send_filereq   ((void(*)(int,char*,char*,char*))global[31])
#define botnet_send_join_idx   ((void(*)(int,int))global[32])
#define botnet_send_part_idx   ((void(*)(int,char *))global[33])
#define updatebot   ((void(*)(int,char*,char,int))global[34])
#define nextbot   ((int (*)(char *))global[35])
#define zapfbot   ((void (*)(int))global[36])
#define n_free   ((void (*)(void *,char *, int))global[37])
#define u_pass_match   ((int (*)(struct userrec *,char *))global[38])
#define user_malloc(x)   ((void *(*)(int,char *,int))global[39])(x,__FILE__,__LINE__)
#define get_user   ((void *(*)(struct user_entry_type *,struct userrec *))global[40])
#define set_user   ((int(*)(struct user_entry_type *,struct userrec *,void *))global[41])
#define add_entry_type   ((int (*) ( struct user_entry_type * ))global[42])
#define del_entry_type   ((int (*) ( struct user_entry_type * ))global[43])
#define get_user_flagrec   ((void (*)(struct userrec *, struct flag_record *, const char *))global[44])
#define set_user_flagrec   ((void (*)(struct userrec *, struct flag_record *, const char *))global[45])
#define get_user_by_host   ((struct userrec * (*)(char *))global[46])
#define get_user_by_handle   ((struct userrec *(*)(struct userrec *,char *))global[47])
#define find_entry_type   ((struct user_entry_type * (*) ( char * ))global[48])
#define find_user_entry   ((struct user_entry * (*)( struct user_entry_type *, struct userrec *))global[49])
#define adduser   ((struct userrec *(*)(struct userrec *,char*,char*,char*,int))global[50])
#define deluser   ((int (*)(char *))global[51])
#define addhost_by_handle   ((void (*) (char *, char *))global[52])
#define delhost_by_handle   ((int(*)(char *,char *))global[53])
#define readuserfile   ((int (*)(char *,struct userrec **))global[54])
#define write_userfile   ((void(*)(int))global[55])
#define geticon   ((char (*) (int))global[56])
#define clear_chanlist   ((void (*)(void))global[57])
#define reaffirm_owners   ((void (*)(void))global[58])
#define change_handle   ((int(*)(struct userrec *,char*))global[59])
#define write_user   ((int (*)(struct userrec *, FILE *,int))global[60])
#define clear_userlist   ((void (*)(struct userrec *))global[61])
#define count_users   ((int(*)(struct userrec *))global[62])
#define sanity_check   ((int(*)(int))global[63])
#define break_down_flags   ((void (*)(const char *,struct flag_record *,struct flag_record *))global[64])
#define build_flags   ((void (*)(char *, struct flag_record *, struct flag_record *))global[65])
#define flagrec_eq   ((int(*)(struct flag_record*,struct flag_record *))global[66])
#define flagrec_ok   ((int(*)(struct flag_record*,struct flag_record *))global[67])
#define shareout   (*(Function *)(global[68]))
#define dprintf   (global[69])
#define chatout   (global[70])
#define chanout_but   ((void(*)())global[71])
#define check_validity   ((int (*) (char *,IntFunc))global[72])
#define egg_list_delete   ((int (*)( struct list_type **, struct list_type *))global[73])
#define egg_list_append   ((int (*) ( struct list_type **, struct list_type *))global[74])
#define egg_list_contains   ((int (*) (struct list_type *, struct list_type *))global[75])
#define answer   ((int (*) (int,char *,unsigned long *,unsigned short *,int))global[76])
#define getmyip   ((IP (*) (void))global[77])
#define neterror   ((void (*) (char *))global[78])
#define tputs   ((void (*) (int, char *,unsigned int))global[79])
#define new_dcc   ((int (*) (struct dcc_table *, int))global[80])
#define lostdcc   ((void (*) (int))global[81])
#define getsock   ((int (*) (int))global[82])
#define killsock   ((void (*) (int))global[83])
#define open_listen   ((int (*) (int *))global[84])
#define open_telnet_dcc   ((int (*) (int,char *,char *))global[85])
#define get_data_ptr(x)   ((void *(*)(int,char*,int))global[86])(x,__FILE__,__LINE__)
#define open_telnet   ((int (*) (char *, int))global[87])
#define check_tcl_event   ((void * (*) (const char *))global[88])
#define my_memcpy   ((void * (*) (void *, const void *, size_t))global[89])
#define my_atoul   ((IP(*)(char *))global[90])
#define my_strcpy   ((int (*)(char *, const char *))global[91])
#define dcc   (*(struct dcc_t **)global[92])
#define chanset   (*(struct chanset_t **)(global[93]))
#define userlist   (*(struct userrec **)global[94])
#define lastuser   (*(struct userrec **)(global[95]))
#define global_bans   (*(maskrec **)(global[96]))
#define global_ign   (*(struct igrec **)(global[97]))
#define password_timeout   (*(int *)(global[98]))
#define share_greet   (*(int *)global[99])
#define max_dcc   (*(int *)global[100])
#define require_p   (*(int *)global[101])
#define ignore_time   (*(int *)(global[102]))
#define reserved_port_min   (*(int *)(global[104]))
#define reserved_port_max   (*(int *)(global[105]))
#define raw_log   (*(int *)(global[106]))
#define noshare   (*(int *)(global[107]))
#define make_userfile   (*(int*)global[109])
#define default_flags   (*(int*)global[110])
#define dcc_total   (*(int*)global[111])
#define tempdir   ((char *)(global[112]))
#define natip   ((char *)(global[113]))
#define hostname   ((char *)(global[114]))
#define origbotname   ((char *)(global[115]))
#define botuser   ((char *)(global[116]))
#define admin   ((char *)(global[117]))
#define userfile   ((char *)global[118])
#define ver   ((char *)global[119])
#define notify_new   ((char *)global[120])
#define helpdir   ((char *)global[121])
#define Version   ((char *)global[122])
#define botnetnick   ((char *)global[123])
#define DCC_CHAT_PASS   (*(struct dcc_table *)(global[124]))
#define DCC_BOT   (*(struct dcc_table *)(global[125]))
#define DCC_LOST   (*(struct dcc_table *)(global[126]))
#define DCC_CHAT   (*(struct dcc_table *)(global[127]))
#define interp   (*(Tcl_Interp **)(global[128]))
#define now   (*(time_t*)global[129])
#define findanyidx   ((int (*)(int))global[130])
#define findchan   ((struct chanset_t *(*)(char *))global[131])
#define cmd_die   (global[132])
#define days   ((void (*)(time_t,time_t,char *))global[133])
#define daysago   ((void (*)(time_t,time_t,char *))global[134])
#define daysdur   ((void (*)(time_t,time_t,char *))global[135])
#define ismember   ((memberlist * (*) (struct chanset_t *, char *))global[136])
#define newsplit   ((char *(*)(char **))global[137])
#define splitnick   ((char *(*)(char **))global[138])
#define splitc   ((void (*)(char *,char *,char))global[139])
#define addignore   ((void (*) (char *, char *, char *,time_t))global[140])
#define match_ignore   ((int (*)(char *))global[141])
#define delignore   ((int (*)(char *))global[142])
#define fatal   (global[143])
#define xtra_kill   ((void (*)(struct user_entry *))global[144])
#define xtra_unpack   ((void (*)(struct userrec *, struct user_entry *))global[145])
#define movefile   ((int (*) (char *, char *))global[146])
#define copyfile   ((int (*) (char *, char *))global[147])
#define do_tcl   ((void (*)(char *, char *))global[148])
#define readtclprog   ((int (*)(const char *))global[149])
#define get_language   ((char *(*)(int))global[150])
#define def_get   ((void *(*)(struct userrec *, struct user_entry *))global[151])
#define makepass   ((void (*) (char *))global[152])
#define wild_match   ((int (*)(const char *, const char *))global[153])
#define maskaddr   ((void (*)(const char *, char *, int))global[154])
#define show_motd   ((void(*)(int))global[155])
#define tellhelp   ((void(*)(int, char *, struct flag_record *, int))global[156])
#define showhelp   ((void(*)(char *, char *, struct flag_record *, int))global[157])
#define add_help_reference   ((void(*)(char *))global[158])
#define rem_help_reference   ((void(*)(char *))global[159])
#define touch_laston   ((void (*)(struct userrec *,char *,time_t))global[160])
#define add_mode   ((void (*)(struct chanset_t *,char,char,char *))(*(Function**)(global[161])))
#define rmspace   ((void (*)(char *))global[162])
#define in_chain   ((int (*)(char *))global[163])
#define add_note   ((int (*)(char *,char*,char*,int,int))global[164])
#define del_lang_section   ((int(*)(char *))global[165])
#define detect_dcc_flood   ((int (*) (time_t *,struct chat_info *,int))global[166])
#define flush_lines   ((void(*)(int,struct chat_info*))global[167])
#define expected_memory   ((int(*)(void))global[168])
#define tell_mem_status   ((void(*)(char *))global[169])
#define do_restart   (*(int *)(global[170]))
#define check_tcl_filt   ((const char *(*)(int, const char *))global[171])
#define add_hook(a, b)   (((void (*) (int, Function))global[172])(a,b))
#define del_hook(a, b)   (((void (*) (int, Function))global[173])(a,b))
#define H_dcc   (*(p_tcl_bind_list *)(global[174]))
#define H_filt   (*(p_tcl_bind_list *)(global[175]))
#define H_chon   (*(p_tcl_bind_list *)(global[176]))
#define H_chof   (*(p_tcl_bind_list *)(global[177]))
#define H_load   (*(p_tcl_bind_list *)(global[178]))
#define H_unld   (*(p_tcl_bind_list *)(global[179]))
#define H_chat   (*(p_tcl_bind_list *)(global[180]))
#define H_act   (*(p_tcl_bind_list *)(global[181]))
#define H_bcst   (*(p_tcl_bind_list *)(global[182]))
#define H_bot   (*(p_tcl_bind_list *)(global[183]))
#define H_link   (*(p_tcl_bind_list *)(global[184]))
#define H_disc   (*(p_tcl_bind_list *)(global[185]))
#define H_away   (*(p_tcl_bind_list *)(global[186]))
#define H_nkch   (*(p_tcl_bind_list *)(global[187]))
#define USERENTRY_BOTADDR   (*(struct user_entry_type *)(global[188]))
#define USERENTRY_BOTFL   (*(struct user_entry_type *)(global[189]))
#define USERENTRY_HOSTS   (*(struct user_entry_type *)(global[190]))
#define USERENTRY_PASS   (*(struct user_entry_type *)(global[191]))
#define USERENTRY_XTRA   (*(struct user_entry_type *)(global[192]))
#define user_del_chan   ((void(*)(char *))(global[193]))
#define USERENTRY_INFO   (*(struct user_entry_type *)(global[194]))
#define USERENTRY_COMMENT   (*(struct user_entry_type *)(global[195]))
#define USERENTRY_LASTON   (*(struct user_entry_type *)(global[196]))
#define putlog   (global[197])
#define botnet_send_chan   ((void(*)(int,char*,char*,int,char*))global[198])
#define list_type_kill   ((void(*)(struct list_type *))global[199])
#define logmodes   ((int(*)(char *))global[200])
#define masktype   ((const char *(*)(int))global[201])
#define stripmodes   ((int(*)(char *))global[202])
#define stripmasktype   ((const char *(*)(int))global[203])
#define sub_lang   ((void(*)(int,char *))global[204])
#define online_since   (*(int *)(global[205]))
#define cmd_loadlanguage   ((int (*)(struct userrec *,int,char *))global[206])
#define check_dcc_attrs   ((int (*)(struct userrec *,int))global[207])
#define check_dcc_chanattrs   ((int (*)(struct userrec *,char *,int,int))global[208])
#define add_tcl_coups   ((void (*) (tcl_coups *))global[209])
#define rem_tcl_coups   ((void (*) (tcl_coups *))global[210])
#define botname   ((char *)(global[211]))
#define check_tcl_chjn   ((void (*) (const char *,const char *,int,char,int,const char *))global[213])
#define sanitycheck_dcc   ((int (*)(char *, char *, char *, char *))global[214])
#define isowner   ((int (*)(char *))global[215])
#define rfc_casecmp   ((int(*)(char *, char *))(*(Function**)(global[218])))
#define rfc_ncasecmp   ((int(*)(char *, char *, int *))(*(Function**)(global[219])))
#define global_exempts   (*(maskrec **)(global[220]))
#define global_invites   (*(maskrec **)(global[221]))
#define H_event   (*(p_tcl_bind_list *)(global[224]))
#define use_exempts   (*(int *)(global[225]))
#define use_invites   (*(int *)(global[226]))
#define force_expire   (*(int *)(global[227]))
#define add_lang_section   ((void(*)(char *))global[228])
#define user_realloc(x, y)   ((void *(*)(void *,int,char *,int))global[229])((x),(y),__FILE__,__LINE__)
#define nrealloc(x, y)   (((void *(*)())global[230])((x),(y),MODULE_NAME,__FILE__,__LINE__))
#define xtra_set   ((int(*)(struct userrec *,struct user_entry *, void *))global[231])
#define ContextNote(note)   do {} while (0)
#define Assert(expr)   do {} while (0)
#define allocsock   ((int(*)(int sock,int options))global[234])
#define call_hostbyip   ((void(*)(IP, char *, int))global[235])
#define call_ipbyhost   ((void(*)(char *, IP, int))global[236])
#define iptostr   ((char *(*)(IP))global[237])
#define DCC_DNSWAIT   (*(struct dcc_table *)(global[238]))
#define hostsanitycheck_dcc   ((int(*)(char *, char *, IP, char *, char *))global[239])
#define dcc_dnsipbyhost   ((void (*)(char *))global[240])
#define dcc_dnshostbyip   ((void (*)(IP))global[241])
#define changeover_dcc   ((void (*)(int, struct dcc_table *, int))global[242])
#define make_rand_str   ((void (*) (char *, int))global[243])
#define protect_readonly   (*(int *)(global[244]))
#define findchan_by_dname   ((struct chanset_t *(*)(char *))global[245])
#define removedcc   ((void (*) (int))global[246])
#define userfile_perm   (*(int *)global[247])
#define sock_has_data   ((int(*)(int, int))global[248])
#define bots_in_subtree   ((int (*)(tand_t *))global[249])
#define users_in_subtree   ((int (*)(tand_t *))global[250])
#define egg_inet_aton   ((int (*)(const char *cp, struct in_addr *addr))global[251])
#define egg_snprintf   (global[252])
#define egg_vsnprintf   ((int (*)(char *, size_t, const char *, va_list))global[253])
#define egg_memset   ((void *(*)(void *, int, size_t))global[254])
#define egg_strcasecmp   ((int (*)(const char *, const char *))global[255])
#define egg_strncasecmp   ((int (*)(const char *, const char *, size_t))global[256])
#define is_file   ((int (*)(const char *))global[257])
#define must_be_owner   (*(int *)(global[258]))
#define tandbot   (*(tand_t **)(global[259]))
#define party   (*(party_t **)(global[260]))
#define open_address_listen   ((int (*)(IP addr, int *port))global[261])
#define str_escape   ((char *(*)(const char *, const char, const char))global[262])
#define strchr_unescape   ((char *(*)(char *, const char, register const char))global[263])
#define str_unescape   ((void (*)(char *, register const char))global[264])
#define egg_strcatn   ((int (*)(char *dst, const char *src, size_t max))global[265])
#define clear_chanlist_member   ((void (*)(const char *nick))global[266])
#define fixfrom   ((char *(*)(char *))global[267])
#define socklist   (*(struct sock_list **)global[268])
#define sockoptions   ((int (*)(int, int, int))global[269])
#define flush_inbuf   ((int (*)(int))global[270])
#define kill_bot   ((void (*)(char *, char *))global[271])
#define quit_msg   ((char *)(global[272]))
#define module_load   ((char *(*)(char *))global[273])
#define module_unload   ((char *(*)(char *, char *))global[274])
#define parties   (*(int *)global[275])
#define tell_bottree   ((void (*)(int, int))global[276])
#define MD5_Init   ((void (*)(MD5_CTX *))global[277])
#define MD5_Update   ((void (*)(MD5_CTX *, void *, unsigned long))global[278])
#define MD5_Final   ((void (*)(unsigned char *, MD5_CTX *))global[279])
#define wild_match_per   ((int (*)(const char *, const char *))global[280])
#define killtransfer   ((void(*)(int))global[281])
#define write_ignores   ((int (*)(FILE *, int))global[282])
#define copy_to_tmp   (*(int *)(global[283]))
#define quiet_reject   (*(int *)(global[284]))
#define file_readable   ((int (*) (char *))global[285])
#define strip_mirc_codes   ((void (*)(int, char *))global[289])
#define check_ansi   ((int (*) (char *))global[290])
#define oatoi   ((int (*) (const char *))global[291])
#define str_isdigit   ((int (*) (const char *))global[292])
#define remove_crlf   ((void (*) (char **))global[293])
#define addr_match   ((int (*)(const char *, const char *, int, int))global[294])
#define mask_match   ((int (*)(const char *, const char *))global[295])
#define check_conflags   ((int (*) (struct flag_record *, int))global[296])
#define increase_socks_max   ((int (*)(void))global[297])
#define LOG_TS   ((char *)(global[298]))
#define nstrdup(x)   (((char *(*)())global[299])((x),MODULE_NAME,__FILE__,__LINE__))
#define maskhost(a, b)   maskaddr((a),(b),3)
#define maskban(a, b)   maskaddr((a),(b),3)
#define match_addr(a, b)   addr_match((a),(b),0,0)
#define cmp_masks(a, b)   addr_match((a),(b),0,1)

Define Documentation

#define add_bind_table   ((p_tcl_bind_list(*)(const char *,int,IntFunc))global[8])

Definition at line 114 of file module.h.

Referenced by filesys_start(), init_bind(), irc_start(), server_start(), and transfer_start().

#define add_builtins   ((int (*) (p_tcl_bind_list, cmd_t *))global[12])
#define add_entry_type   ((int (*) ( struct user_entry_type * ))global[42])

Definition at line 156 of file module.h.

Referenced by console_start(), filesys_start(), init_userent(), notes_start(), and transfer_start().

#define add_help_reference   ((void(*)(char *))global[158])
#define add_hook ( a,
 )     (((void (*) (int, Function))global[172])(a,b))
#define add_lang_section   ((void(*)(char *))global[228])
#define add_mode   ((void (*)(struct chanset_t *,char,char,char *))(*(Function**)(global[161])))
#define add_note   ((int (*)(char *,char*,char*,int,int))global[164])
#define add_tcl_commands   ((void (*) (tcl_cmds *))global[14])
#define add_tcl_coups   ((void (*) (tcl_coups *))global[209])

Definition at line 365 of file module.h.

Referenced by channels_start(), init_traces(), and server_start().

#define add_tcl_ints   ((void (*) (tcl_ints *))global[16])
#define add_tcl_strings   ((void (*) (tcl_strings *))global[18])
#define addhost_by_handle   ((void (*) (char *, char *))global[52])
#define addignore   ((void (*) (char *, char *, char *,time_t))global[140])
#define addr_match   ((int (*)(const char *, const char *, int, int))global[294])

Definition at line 486 of file module.h.

#define adduser   ((struct userrec *(*)(struct userrec *,char*,char*,char*,int))global[50])
#define admin   ((char *)(global[117]))
#define allocsock   ((int(*)(int sock,int options))global[234])

Definition at line 407 of file module.h.

Referenced by init_dns_network().

#define answer   ((int (*) (int,char *,unsigned long *,unsigned short *,int))global[76])

Definition at line 199 of file module.h.

Referenced by dcc_get_pending(), and dcc_telnet().

#define Assert ( expr   )     do {} while (0)

Definition at line 405 of file module.h.

#define base64_to_int   ((int (*) (char *))global[20])
#define botname   ((char *)(global[211]))
#define botnet_send_bye   ((void(*)(void))global[27])

Definition at line 137 of file module.h.

Referenced by kill_bot(), and msg_die().

#define botnet_send_chan   ((void(*)(int,char*,char*,int,char*))global[198])

Definition at line 351 of file module.h.

Referenced by bot_chan2(), console_chon(), and dcc_chat().

#define botnet_send_chat   ((void(*)(int,char*,char*))global[28])

Definition at line 139 of file module.h.

Referenced by bot_chat(), got_term(), kill_bot(), and msg_die().

#define botnet_send_filereject   ((void(*)(int,char*,char*,char*))global[29])

Definition at line 140 of file module.h.

Referenced by bot_filereject(), and remote_filereq().

#define botnet_send_filereq   ((void(*)(int,char*,char*,char*))global[31])

Definition at line 142 of file module.h.

Referenced by bot_filereq(), cmd_reget_get(), and files_reget().

#define botnet_send_filesend   ((void(*)(int,char*,char*,char*))global[30])

Definition at line 141 of file module.h.

Referenced by bot_filesend(), and remote_filereq().

#define botnet_send_join_idx   ((void(*)(int,int))global[32])
#define botnet_send_part_idx   ((void(*)(int,char *))global[33])
#define botnet_send_unlinked   ((void (*)(int, char *, char *))global[26])
#define botnet_send_zapf   ((void (*)(int, char *, char *, char *))global[24])

Definition at line 134 of file module.h.

Referenced by bot_zapf(), botnet_send_assoc(), and link_assoc().

#define botnet_send_zapf_broad   ((void (*)(int, char *, char *, char *))global[25])

Definition at line 135 of file module.h.

Referenced by bot_zapfbroad(), cmd_onwire(), cmd_putwire(), wire_join(), and wire_leave().

#define botnetnick   ((char *)global[123])

Definition at line 257 of file module.h.

Referenced by add_note(), addbot(), answer_local_whom(), append_line(), bot_filereject(), bot_filereq(), bot_filesend(), bot_infoq(), bot_link(), bot_motd(), bot_nlinked(), bot_priv(), bot_reject(), bot_trace(), bot_traced(), bot_unlink(), bot_version(), bot_versions(), bot_who(), bot_zapf(), botlink(), botnet_change(), botnet_send_assoc(), botnet_send_join_idx(), botnet_send_nkch(), botnet_send_part_idx(), botnet_send_trace(), chanprog(), check_botnet_pings(), cmd_boot(), cmd_botinfo(), cmd_chat(), cmd_chhandle(), cmd_handle(), cmd_link(), cmd_me(), cmd_modules(), cmd_motd(), cmd_onwire(), cmd_pls_user(), cmd_putwire(), cmd_reget_get(), cmd_trace(), cmd_unlink(), cmd_who(), cmd_whoami(), console_chon(), cont_link(), cont_tandem_relay(), dcc_bot_check_digest(), dcc_chat(), dcc_chatter(), dcc_relaying(), dcc_script(), dcc_telnet_id(), dcc_telnet_new(), dcc_telnet_pass(), dcc_telnet_pw(), detect_chan_flood(), detect_flood(), dump_links(), eof_dcc_chat(), eof_dcc_relay(), failed_link(), fake_alert(), filedb_setlink(), filedb_update(), files_reget(), got_term(), gotmsg(), gotnotice(), help_subst(), in_chain(), kill_bot(), lastbot(), link_assoc(), main(), mainloop(), msg_die(), msg_hello(), msg_status(), not_away(), pre_relay(), punish_badguy(), remote_filereq(), remote_tell_who(), restart_chons(), seen_start(), send_uptime(), set_away(), share_ufsend(), show_banner(), show_motd(), sub_lang(), tandem_relay(), tcl_chhandle(), tcl_eggstr(), tcl_unloadmodule(), tell_bots(), tell_bottree(), tell_settings(), tell_verbose_status(), wire_filter(), wire_join(), wire_leave(), write_bans(), write_channels(), write_exempts(), write_invites(), and write_tmp_userfile().

#define bots_in_subtree   ((int (*)(tand_t *))global[249])
#define botuser   ((char *)(global[116]))
#define break_down_flags   ((void (*)(const char *,struct flag_record *,struct flag_record *))global[64])
#define build_flags   ((void (*)(char *, struct flag_record *, struct flag_record *))global[65])
#define call_hostbyip   ((void(*)(IP, char *, int))global[235])

Definition at line 408 of file module.h.

Referenced by block_dns_hostbyip(), dns_event_failure(), and dns_event_success().

#define call_ipbyhost   ((void(*)(char *, IP, int))global[236])

Definition at line 410 of file module.h.

Referenced by block_dns_ipbyhost(), dns_event_failure(), dns_event_success(), and dns_forward().

#define change_handle   ((int(*)(struct userrec *,char*))global[59])

Definition at line 177 of file module.h.

Referenced by bot_thisbot(), cmd_chhandle(), cmd_handle(), share_chhand(), and tcl_chhandle().

#define changeover_dcc   ((void (*)(int, struct dcc_table *, int))global[242])
#define chanout_but   ((void(*)())global[71])
#define chanset   (*(struct chanset_t **)(global[93]))
#define chatout   (global[70])
#define check_ansi   ((int (*) (char *))global[290])

Definition at line 481 of file module.h.

Referenced by dcc_chat().

#define check_conflags   ((int (*) (struct flag_record *, int))global[296])

Definition at line 489 of file module.h.

Referenced by check_dcc_attrs(), check_dcc_chanattrs(), cmd_console(), and console_chon().

#define check_dcc_attrs   ((int (*)(struct userrec *,int))global[207])

Definition at line 362 of file module.h.

Referenced by cmd_chattr(), dcc_telnet_new(), share_chattr(), and tcl_chattr().

#define check_dcc_chanattrs   ((int (*)(struct userrec *,char *,int,int))global[208])

Definition at line 364 of file module.h.

Referenced by cmd_chattr(), share_chattr(), and tcl_chattr().

#define check_tcl_bind   ((int (*) (p_tcl_bind_list,const char *,struct flag_record *,const char *, int))global[11])
#define check_tcl_chjn   ((void (*) (const char *,const char *,int,char,int,const char *))global[213])
#define check_tcl_event   ((void * (*) (const char *))global[88])
#define check_tcl_filt   ((const char *(*)(int, const char *))global[171])

Definition at line 317 of file module.h.

Referenced by dcc_chat(), dcc_files(), and got_files_cmd().

#define check_validity   ((int (*) (char *,IntFunc))global[72])

Definition at line 194 of file module.h.

#define clear_chanlist   ((void (*)(void))global[57])

Definition at line 175 of file module.h.

Referenced by finish_share(), global(), int(), and void().

#define clear_chanlist_member   ((void (*)(const char *nick))global[266])

Definition at line 447 of file module.h.

Referenced by gotnick().

#define clear_userlist   ((void (*)(struct userrec *))global[61])

Definition at line 180 of file module.h.

Referenced by finish_share(), rehash(), reload(), and start_sending_users().

#define cmd_die   (global[132])

Definition at line 269 of file module.h.

#define cmd_loadlanguage   ((int (*)(struct userrec *,int,char *))global[206])

Definition at line 361 of file module.h.

#define cmp_masks ( a,
 )     addr_match((a),(b),0,1)

Definition at line 500 of file module.h.

Referenced by do_mask().

#define Context   do {} while (0)

Definition at line 105 of file module.h.

#define ContextNote ( note   )     do {} while (0)

Definition at line 397 of file module.h.

#define copy_to_tmp   (*(int *)(global[283]))
#define copyfile   ((int (*) (char *, char *))global[147])
#define count_users   ((int(*)(struct userrec *))global[62])

Definition at line 181 of file module.h.

Referenced by main(), msg_status(), tcl_countusers(), and tell_verbose_status().

#define days   ((void (*)(time_t,time_t,char *))global[133])
#define daysago   ((void (*)(time_t,time_t,char *))global[134])

Definition at line 271 of file module.h.

Referenced by display_ban(), display_exempt(), and display_invite().

#define daysdur   ((void (*)(time_t,time_t,char *))global[135])

Definition at line 272 of file module.h.

Referenced by server_report().

#define dcc   (*(struct dcc_t **)global[92])

Definition at line 219 of file module.h.

Referenced by _dcc_send(), at_limit(), botnet_send_assoc(), cancel_user_xfer(), channels_chon(), channels_report(), check_expired_tbufs(), check_tcl_fil(), chof_wire(), cmd_act(), cmd_adduser(), cmd_assoc(), cmd_bans(), cmd_cancel(), cmd_chaninfo(), cmd_chanload(), cmd_channel(), cmd_chansave(), cmd_chanset(), cmd_chdir(), cmd_chinfo(), cmd_clearqueue(), cmd_dehalfop(), cmd_deluser(), cmd_deop(), cmd_desc(), cmd_devoice(), cmd_dump(), cmd_exempts(), cmd_file_help(), cmd_files(), cmd_filestats(), cmd_fwd(), cmd_halfop(), cmd_hide(), cmd_info(), cmd_invite(), cmd_invites(), cmd_jump(), cmd_kick(), cmd_kickban(), cmd_ln(), cmd_mkdir(), cmd_mns_ban(), cmd_mns_chan(), cmd_mns_chrec(), cmd_mns_exempt(), cmd_mns_invite(), cmd_mns_noteign(), cmd_msg(), cmd_mv_cp(), cmd_note(), cmd_noteigns(), cmd_notes(), cmd_onwire(), cmd_op(), cmd_optimize(), cmd_pending(), cmd_pls_ban(), cmd_pls_chan(), cmd_pls_chrec(), cmd_pls_exempt(), cmd_pls_invite(), cmd_pls_noteign(), cmd_putwire(), cmd_pwd(), cmd_reget_get(), cmd_reset(), cmd_resetbans(), cmd_resetexempts(), cmd_resetinvites(), cmd_rm(), cmd_rmdir(), cmd_say(), cmd_servers(), cmd_share(), cmd_stats(), cmd_stick_yn(), cmd_topic(), cmd_unhide(), cmd_unshare(), cmd_voice(), cmd_wire(), cmd_woobie(), connect_server(), console_chon(), console_display(), console_dostore(), console_store(), ctcp_CHAT(), ctcp_DCC_CHAT(), ctcp_DCC_RESUME(), dcc_chat_hostresolved(), dcc_files(), dcc_files_pass(), dcc_fork_send(), dcc_get_pending(), dcc_seen(), disconnect_server(), dns_close(), dns_start(), do_dcc_send(), do_seen(), dump_resync(), eof_dns_socket(), eof_server(), filedb_ls(), fileq_cancel(), files_ls(), files_reget(), files_setpwd(), filesys_close(), filesys_DCC_CHAT(), filesys_dcc_send(), filesys_dcc_send_hostresolved(), filesys_note(), finish_share(), fwd_display(), get_channel(), gotmode(), has_op(), has_oporhalfop(), hook_read_userfile(), irc_report(), link_assoc(), raw_dcc_resend_send(), remote_filereq(), resolve_dir(), send_uptime(), server_activity(), server_report(), server_resolve_failure(), server_resolve_success(), share_change(), share_chattr(), share_chchinfo(), share_chhand(), share_close(), share_end(), share_endstartup(), 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_resync_no(), 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(), show_queued_files(), start_sending_users(), tcl_eggserver(), tell_bans(), tell_exempts(), tell_invites(), timeout_server(), too_many_filers(), transfer_close(), uf_features_check(), uf_features_parse(), uff_call_receiving(), uff_call_sending(), uff_comp(), uff_uncomp(), welcome_to_files(), wipe_tmp_filename(), wire_filter(), wire_join(), wire_leave(), write_bans(), write_exempts(), write_invites(), and write_tmp_userfile().

#define DCC_BOT   (*(struct dcc_table *)(global[125]))
#define DCC_CHAT   (*(struct dcc_table *)(global[127]))
#define DCC_CHAT_PASS   (*(struct dcc_table *)(global[124]))

Definition at line 259 of file module.h.

Referenced by cmd_su(), ctcp_DCC_CHAT(), and dcc_chat_hostresolved().

#define dcc_dnshostbyip   ((void (*)(IP))global[241])

Definition at line 416 of file module.h.

Referenced by ctcp_DCC_CHAT(), dcc_telnet(), and filesys_dcc_send().

#define dcc_dnsipbyhost   ((void (*)(char *))global[240])

Definition at line 415 of file module.h.

Referenced by botlink(), connect_server(), and tandem_relay().

#define DCC_DNSWAIT   (*(struct dcc_table *)(global[238]))
#define DCC_LOST   (*(struct dcc_table *)(global[126]))

Definition at line 261 of file module.h.

Referenced by dcc_remove_lost(), and lostdcc().

#define dcc_total   (*(int*)global[111])
#define def_get   ((void *(*)(struct userrec *, struct user_entry *))global[151])

Definition at line 292 of file module.h.

Referenced by console_start(), and transfer_start().

#define default_flags   (*(int*)global[110])

Definition at line 241 of file module.h.

Referenced by dcc_telnet_new(), global(), msg_hello(), tcl_adduser(), tcl_eggint(), and tell_settings().

#define del_bind_table   ((void (*) (p_tcl_bind_list))global[9])

Definition at line 115 of file module.h.

Referenced by filesys_close(), irc_close(), server_close(), and transfer_close().

#define del_entry_type   ((int (*) ( struct user_entry_type * ))global[43])

Definition at line 157 of file module.h.

Referenced by console_close(), filesys_close(), notes_close(), and transfer_close().

#define del_hook ( a,
 )     (((void (*) (int, Function))global[173])(a,b))
#define del_lang_section   ((int(*)(char *))global[165])
#define delhost_by_handle   ((int(*)(char *,char *))global[53])

Definition at line 170 of file module.h.

Referenced by cmd_mns_host(), share_mns_host(), and tcl_delhost().

#define delignore   ((int (*)(char *))global[142])

Definition at line 281 of file module.h.

Referenced by cmd_mns_ignore(), finish_share(), share_mns_ignore(), tcl_killignore(), and void().

#define deluser   ((int (*)(char *))global[51])

Definition at line 167 of file module.h.

Referenced by cmd_deluser(), cmd_mns_user(), eof_dcc_telnet_pw(), share_killuser(), and tcl_deluser().

#define detect_dcc_flood   ((int (*) (time_t *,struct chat_info *,int))global[166])

Definition at line 311 of file module.h.

Referenced by dcc_chat(), and dcc_files().

#define do_restart   (*(int *)(global[170]))

Definition at line 316 of file module.h.

Referenced by cmd_rehash(), cmd_restart(), got_hup(), mainloop(), and msg_rehash().

#define do_tcl   ((void (*)(char *, char *))global[148])
#define dprintf   (global[69])

Definition at line 190 of file module.h.

Referenced by _dcc_send(), add_bot_hostmask(), add_note(), answer_local_whom(), blowfish_report(), bot_bye(), bot_filereject(), bot_filesend(), bot_nlinked(), bot_old_userfile(), bot_reject(), bot_thisbot(), bot_traced(), bot_version(), bot_versions(), botaddr_display(), botfl_display(), botlink(), botunlink(), channels_report(), check_botnet_pings(), check_dcc_attrs(), check_dcc_chanattrs(), check_expired_chanstuff(), check_expired_tbufs(), check_lonely_channel(), check_tcl_fil(), check_this_member(), cmd_act(), cmd_addlog(), cmd_adduser(), cmd_assoc(), cmd_backup(), cmd_banner(), cmd_boot(), cmd_botattr(), cmd_botinfo(), cmd_cancel(), cmd_chaddr(), cmd_chaninfo(), cmd_chanload(), cmd_channel(), cmd_chansave(), cmd_chanset(), cmd_chat(), cmd_chattr(), cmd_chdir(), cmd_chhandle(), cmd_chinfo(), cmd_chpass(), cmd_clearqueue(), cmd_comment(), cmd_console(), cmd_dehalfop(), cmd_deluser(), cmd_deop(), cmd_desc(), cmd_devoice(), cmd_dump(), cmd_echo(), cmd_exempts(), cmd_files(), cmd_filestats(), cmd_fixcodes(), cmd_flush(), cmd_fwd(), cmd_halfop(), cmd_handle(), cmd_hide(), cmd_info(), cmd_invite(), cmd_invites(), cmd_jump(), cmd_kick(), cmd_kickban(), cmd_languagedump(), cmd_languagestatus(), cmd_link(), cmd_ln(), cmd_loadlanguage(), cmd_loadmod(), cmd_match(), cmd_me(), cmd_mkdir(), 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_modules(), cmd_motd(), cmd_msg(), cmd_mv_cp(), cmd_newpass(), cmd_note(), cmd_noteigns(), cmd_notes(), cmd_onwire(), cmd_op(), cmd_optimize(), 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_pwd(), cmd_reget_get(), cmd_rehash(), cmd_rehelp(), cmd_relang(), cmd_relay(), cmd_reload(), cmd_reset(), cmd_resetbans(), cmd_resetexempts(), cmd_resetinvites(), cmd_restart(), cmd_rm(), cmd_rmdir(), cmd_save(), cmd_say(), cmd_servers(), cmd_set(), cmd_share(), cmd_simul(), cmd_status(), cmd_stick_yn(), cmd_strip(), cmd_su(), cmd_tcl(), cmd_topic(), cmd_trace(), cmd_traffic(), cmd_unhide(), cmd_unlink(), cmd_unloadmod(), cmd_unshare(), cmd_voice(), cmd_who(), cmd_whoami(), cmd_whois(), cmd_whom(), cmd_wire(), cmd_wirelist(), cmd_woobie(), comment_display(), compress_report(), console_display(), console_store(), cont_link(), cont_tandem_relay(), core_secondly(), ctcp_CHAT(), ctcp_DCC_CHAT(), ctcp_DCC_RESUME(), dcc_bot_digest(), dcc_bot_new(), dcc_chat(), dcc_chat_hostresolved(), dcc_chat_pass(), dcc_files(), dcc_files_pass(), dcc_get_pending(), dcc_relay(), dcc_relaying(), dcc_telnet(), dcc_telnet_got_ident(), dcc_telnet_hostresolved(), dcc_telnet_id(), dcc_telnet_new(), dcc_telnet_pass(), dcc_telnet_pw(), debug_help(), debug_mem_to_dcc(), def_display(), detect_chan_flood(), detect_dcc_flood(), display_ban(), display_exempt(), display_invite(), display_tellhelp(), dns_report(), do_boot(), do_channel_part(), do_dcc_send(), do_seen(), dump_assoc(), dump_resync(), dumplots(), EGG_VARARGS_DEF(), eof_dcc_relay(), failed_tandem_relay(), fake_alert(), filedb_ls(), filelist_idxshow(), fileq_cancel(), files_ls(), files_reget(), filesys_close(), filesys_DCC_CHAT(), filesys_dcc_send(), filesys_dcc_send_hostresolved(), filesys_note(), filesys_report(), flush_mode(), fstat_display(), fwd_display(), get_channel(), got001(), got303(), got315(), got324(), got403(), got432(), got442(), got475(), gotfake433(), gotinvite(), gotjoin(), gotkick(), gotmode(), gotmsg(), gotnick(), gotnotice(), gotpart(), gotping(), gotquit(), greet_new_bot(), has_op(), has_oporhalfop(), hook_read_userfile(), hosts_display(), irc_close(), irc_report(), irc_start(), kick_all(), main(), minutely_checks(), msg_addhost(), msg_die(), msg_go(), 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(), not_away(), notes_report(), nuke_server(), null_share(), pre_relay(), punish_badguy(), putlog(), raw_dcc_resend_send(), recheck_channel(), refresh_who_chan(), reset_chan_info(), seen_report(), send_next_file(), server_5minutely(), server_die(), server_postrehash(), server_report(), server_resolve_success(), set_away(), share_close(), share_report(), share_resync_no(), share_resyncq(), share_ufsend(), share_userfileq(), share_version(), show_banner(), show_motd(), show_queued_files(), showhelp(), start_sending_users(), status_tbufs(), sub_lang(), tandem_relay(), tandem_relay_resolve_failure(), tell_bans(), tell_bots(), tell_bottree(), tell_dcc(), tell_exempts(), tell_file_stats(), tell_invites(), tell_mem_status(), tell_mem_status_dcc(), tell_settings(), tell_verbose_status(), tell_verbose_uptime(), tell_who(), tellallhelp(), tellhelp(), tellwildhelp(), timeout_dcc_telnet_id(), timeout_dupwait(), tout_dcc_chat_pass(), tout_dcc_telnet_new(), tout_dcc_telnet_pw(), transfer_report(), uf_features_check(), uf_features_parse(), uptime_report(), welcome_to_files(), wire_close(), wire_display(), wire_filter(), wire_join(), wire_leave(), wire_report(), and woobie_report().

#define egg_inet_aton   ((int (*)(const char *cp, struct in_addr *addr))global[251])

Definition at line 428 of file module.h.

Referenced by block_dns_ipbyhost(), dns_change(), dns_forward(), and init_dns_network().

#define EGG_IS_MAX_VER ( ver   )     ((ver) >= EGG_VERSION)

Definition at line 95 of file module.h.

#define EGG_IS_MIN_VER ( ver   )     ((ver) <= EGG_VERSION)

Definition at line 94 of file module.h.

#define egg_list_append   ((int (*) ( struct list_type **, struct list_type *))global[74])

Definition at line 196 of file module.h.

Referenced by dup_userlist(), and next_server().

#define egg_list_contains   ((int (*) (struct list_type *, struct list_type *))global[75])

Definition at line 197 of file module.h.

#define egg_list_delete   ((int (*)( struct list_type **, struct list_type *))global[73])

Definition at line 195 of file module.h.

Referenced by share_change(), and tcl_setuser().

#define egg_memset   ((void *(*)(void *, int, size_t))global[254])

Definition at line 432 of file module.h.

Referenced by init_uptime(), is_compressedfile(), MD5_Final(), and n_malloc_null().

#define egg_snprintf   (global[252])
#define egg_strcasecmp   ((int (*)(const char *, const char *))global[255])

Definition at line 433 of file module.h.

Referenced by _dcc_send(), add_assoc(), add_note(), addbot(), addparty(), at_limit(), bind_bind_entry(), bot_filereject(), bot_filereq(), bot_filesend(), bot_link(), bot_motd(), bot_nlinked(), bot_priv(), bot_reject(), bot_thisbot(), bot_trace(), bot_traced(), bot_unlink(), bot_versions(), bot_who(), bot_zapf(), botlink(), botnet_change(), botunlink(), calc_penalty(), call_ipbyhost(), can_resync(), cancel_user_xfer(), check_chanlist(), check_chanlist_hand(), check_dcc_attrs(), check_dcc_chanattrs(), check_dcclist_hand(), check_this_user(), cmd_adduser(), cmd_bans(), cmd_boot(), cmd_botattr(), cmd_chat(), cmd_chhandle(), cmd_chinfo(), cmd_chpass(), cmd_clearqueue(), cmd_comment(), cmd_console(), cmd_debug(), cmd_deluser(), cmd_desc(), cmd_echo(), cmd_exempts(), cmd_fwd(), cmd_handle(), cmd_info(), cmd_invites(), cmd_link(), cmd_mns_host(), cmd_mns_user(), cmd_motd(), cmd_notes(), cmd_page(), cmd_pls_host(), cmd_pls_user(), cmd_reget_get(), cmd_simul(), cmd_status(), cmd_stick_yn(), cmd_strip(), cmd_trace(), cmd_unlink(), cmd_who(), cmd_wire(), ctcp_CLIENTINFO(), ctcp_DCC_CHAT(), ctcp_DCC_RESUME(), dcc_bot(), dcc_bot_new(), dcc_dnsipbyhost(), dcc_relaying(), dcc_telnet_id(), dcc_telnet_new(), debug_mem_to_dcc(), deq_kick(), detect_chan_flood(), detect_flood(), detect_telnet_flood(), dns_dccipbyhost(), do_seen(), dump_resync(), dupwait_notify(), expired_mask(), fast_deq(), fileq_cancel(), files_reget(), filesys_DCC_CHAT(), findbot(), findhost(), finish_share(), flush_fileq(), flush_tbuf(), get_assoc(), getnick(), getparty(), getudef(), getxtra(), global(), got442(), gotjoin(), gotmsg(), gotnick(), help_subst(), hosts_set(), in_chain(), initudef(), int(), link_assoc(), linkresolvehost(), match_trigger(), minutely_checks(), msg_info(), msg_whois(), next_server(), nextbot(), ngetudef(), notes_change(), num_notes(), parse_q(), parserespacket(), partyaway(), partyidle(), partynick(), partysetidle(), partysock(), partystat(), pre_relay(), putlog(), q_tbuf(), queue_server(), rembot(), remparty(), rempartybot(), send_next_file(), set_chanlist(), setudef(), share_report(), sharein_mod(), show_queued_files(), tandem_relay(), tcl_chhandle(), tcl_getbinds(), tcl_getuser(), unbind_bind_entry(), users_in_subtree(), whoispenalty(), and wordshift().

#define egg_strcatn   ((int (*)(char *dst, const char *src, size_t max))global[265])

Definition at line 446 of file module.h.

Referenced by flush_mode().

#define egg_strncasecmp   ((int (*)(const char *, const char *, size_t))global[256])

Definition at line 435 of file module.h.

Referenced by dcc_chat_pass(), deq_kick(), filesys_DCC_CHAT(), parse_q(), purge_kicks(), and queue_server().

#define egg_vsnprintf   ((int (*)(char *, size_t, const char *, va_list))global[253])

Definition at line 431 of file module.h.

Referenced by egg_snprintf(), EGG_VARARGS_DEF(), putlog(), shareout_but(), and shareout_mod().

#define expected_memory   ((int(*)(void))global[168])

Definition at line 314 of file module.h.

Referenced by msg_status(), tell_mem_status(), tell_mem_status_dcc(), and tell_verbose_status().

#define EXPORT_SCOPE

Definition at line 90 of file module.h.

#define fatal   (global[143])
#define file_readable   ((int (*) (char *))global[285])
#define find_bind_table   ((p_tcl_bind_list(*)(const char *))global[10])
#define find_entry_type   ((struct user_entry_type * (*) ( char * ))global[48])

Definition at line 164 of file module.h.

Referenced by share_change(), tcl_getuser(), and tcl_setuser().

#define find_user_entry   ((struct user_entry * (*)( struct user_entry_type *, struct userrec *))global[49])
#define findanyidx   ((int (*)(int))global[130])
#define findchan   ((struct chanset_t *(*)(char *))global[131])
#define findchan_by_dname   ((struct chanset_t *(*)(char *))global[245])
#define fixfrom   ((char *(*)(char *))global[267])

Definition at line 448 of file module.h.

Referenced by check_this_user(), and global().

#define flagrec_eq   ((int(*)(struct flag_record*,struct flag_record *))global[66])

Definition at line 186 of file module.h.

Referenced by flagrec_ok(), help_subst(), tcl_matchattr(), and tcl_userlist().

#define flagrec_ok   ((int(*)(struct flag_record*,struct flag_record *))global[67])

Definition at line 187 of file module.h.

Referenced by filedb_ls(), and resolve_dir().

#define flush_inbuf   ((int (*)(int))global[270])

Definition at line 456 of file module.h.

#define flush_lines   ((void(*)(int,struct chat_info*))global[167])

Definition at line 312 of file module.h.

Referenced by cmd_page(), dcc_chat(), and dcc_files().

#define force_expire   (*(int *)(global[227]))

Definition at line 387 of file module.h.

Referenced by expired_mask().

#define get_data_ptr (  )     ((void *(*)(int,char*,int))global[86])(x,__FILE__,__LINE__)
#define get_language   ((char *(*)(int))global[150])

Definition at line 291 of file module.h.

Referenced by cmd_languagedump().

#define get_user   ((void *(*)(struct user_entry_type *,struct userrec *))global[40])
#define get_user_by_handle   ((struct userrec *(*)(struct userrec *,char *))global[47])
#define get_user_by_host   ((struct userrec * (*)(char *))global[46])
#define get_user_flagrec   ((void (*)(struct userrec *, struct flag_record *, const char *))global[44])

Definition at line 159 of file module.h.

Referenced by channels_chon(), channels_report(), check_dcc_attrs(), check_dcc_chanattrs(), check_expired_chanstuff(), check_tcl_ctcpr(), check_tcl_fil(), check_tcl_msg(), check_tcl_msgm(), check_tcl_notc(), check_this_user(), cmd_adduser(), cmd_botattr(), cmd_chaninfo(), cmd_channel(), cmd_chanset(), cmd_chattr(), cmd_chinfo(), cmd_console(), cmd_dehalfop(), cmd_deluser(), cmd_deop(), cmd_devoice(), cmd_file_help(), cmd_halfop(), cmd_help(), cmd_kick(), cmd_kickban(), cmd_mns_ban(), cmd_mns_chrec(), cmd_mns_exempt(), cmd_mns_host(), cmd_mns_invite(), cmd_mns_noteign(), cmd_noteigns(), cmd_op(), cmd_pls_ban(), cmd_pls_chrec(), cmd_pls_exempt(), cmd_pls_host(), cmd_pls_invite(), cmd_pls_noteign(), cmd_reset(), cmd_su(), cmd_voice(), console_chon(), ctcp_DCC_CHAT(), dcc_chat_hostresolved(), dcc_chatter(), dcc_telnet_id(), dcc_telnet_pass(), detect_chan_flood(), detect_telnet_flood(), filedb_ls(), filesys_DCC_CHAT(), finish_share(), geticon(), got_ban(), got_dehalfop(), got_deop(), got_halfop(), got_op(), gotjoin(), gotkick(), gotmode(), gotmsg(), gotnick(), gotnotice(), has_op(), has_oporhalfop(), irc_report(), kick_all(), modebind_refresh(), msg_go(), msg_halfop(), msg_help(), msg_invite(), msg_key(), msg_op(), msg_voice(), msg_who(), msg_whois(), punish_badguy(), q_resync(), q_tbuf(), recheck_channel(), refresh_ban_kick(), resolve_dir(), share_chattr(), share_chchinfo(), share_mns_banchan(), share_mns_chrec(), share_mns_exemptchan(), share_mns_invitechan(), share_pls_banchan(), share_pls_chrec(), share_pls_exemptchan(), share_pls_invitechan(), shareout_but(), shareout_mod(), show_banner(), show_motd(), start_sending_users(), sub_lang(), tcl_botattr(), tcl_chattr(), tcl_dccdumpfile(), tcl_dumpfile(), tcl_matchattr(), tcl_userlist(), want_to_revenge(), write_bans(), write_exempts(), and write_invites().

#define geticon   ((char (*) (int))global[56])
#define getmyip   ((IP (*) (void))global[77])
#define getsock   ((int (*) (int))global[82])
#define global_bans   (*(maskrec **)(global[96]))
#define global_exempts   (*(maskrec **)(global[220]))
#define global_ign   (*(struct igrec **)(global[97]))

Definition at line 225 of file module.h.

Referenced by equals_ignore(), finish_share(), int(), and tcl_ignorelist().

#define global_invites   (*(maskrec **)(global[221]))
#define H_act   (*(p_tcl_bind_list *)(global[181]))

Definition at line 330 of file module.h.

#define H_away   (*(p_tcl_bind_list *)(global[186]))

Definition at line 336 of file module.h.

Referenced by init_bind(), notes_close(), and notes_start().

#define H_bcst   (*(p_tcl_bind_list *)(global[182]))

Definition at line 331 of file module.h.

#define H_bot   (*(p_tcl_bind_list *)(global[183]))

Definition at line 332 of file module.h.

Referenced by assoc_close(), assoc_start(), init_bind(), wire_close(), wire_join(), and wire_leave().

#define H_chat   (*(p_tcl_bind_list *)(global[180]))

Definition at line 329 of file module.h.

#define H_chof   (*(p_tcl_bind_list *)(global[177]))

Definition at line 325 of file module.h.

Referenced by wire_start().

#define H_chon   (*(p_tcl_bind_list *)(global[176]))
#define H_dcc   (*(p_tcl_bind_list *)(global[174]))
#define H_disc   (*(p_tcl_bind_list *)(global[185]))

Definition at line 335 of file module.h.

Referenced by init_bind().

#define H_event   (*(p_tcl_bind_list *)(global[224]))

Definition at line 384 of file module.h.

Referenced by init_bind().

#define H_filt   (*(p_tcl_bind_list *)(global[175]))

Definition at line 322 of file module.h.

Referenced by init_bind(), and wire_start().

#define H_link   (*(p_tcl_bind_list *)(global[184]))

Definition at line 334 of file module.h.

Referenced by assoc_close(), and assoc_start().

#define H_load   (*(p_tcl_bind_list *)(global[178]))
#define H_nkch   (*(p_tcl_bind_list *)(global[187]))

Definition at line 337 of file module.h.

Referenced by init_bind(), notes_close(), and notes_start().

#define H_unld   (*(p_tcl_bind_list *)(global[179]))

Definition at line 327 of file module.h.

#define helpdir   ((char *)global[121])
#define hostname   ((char *)(global[114]))
#define hostsanitycheck_dcc   ((int(*)(char *, char *, IP, char *, char *))global[239])

Definition at line 413 of file module.h.

Referenced by dcc_chat_hostresolved(), and filesys_dcc_send_hostresolved().

#define ignore_time   (*(int *)(global[102]))

Definition at line 231 of file module.h.

Referenced by detect_flood(), detect_telnet_flood(), gotmsg(), tcl_newignore(), and tell_settings().

#define in_chain   ((int (*)(char *))global[163])
#define increase_socks_max   ((int (*)(void))global[297])

Definition at line 490 of file module.h.

Referenced by botlink(), ctcp_DCC_CHAT(), dcc_telnet(), filesys_DCC_CHAT(), init_threaddata(), and new_dcc().

#define int_to_base10   ((char * (*) (int))global[22])

Definition at line 131 of file module.h.

Referenced by EGG_VARARGS_DEF(), gotmode(), laston_tcl_get(), tcl_countusers(), and tcl_deluser().

#define int_to_base64   ((char * (*) (int))global[21])

Definition at line 130 of file module.h.

Referenced by EGG_VARARGS_DEF().

#define interp   (*(Tcl_Interp **)(global[128]))
#define iptostr   ((char *(*)(IP))global[237])
#define is_file   ((int (*)(const char *))global[257])
#define ismember   ((memberlist * (*) (struct chanset_t *, char *))global[136])
#define isowner   ((int (*)(char *))global[215])
#define kill_bot   ((void (*)(char *, char *))global[271])

Definition at line 457 of file module.h.

Referenced by cmd_die(), and tcl_die().

#define killsock   ((void (*) (int))global[83])
#define killtransfer   ((void(*)(int))global[281])

Definition at line 470 of file module.h.

Referenced by ctcp_DCC_RESUME().

#define lastuser   (*(struct userrec **)(global[95]))

Definition at line 222 of file module.h.

Referenced by finish_share().

#define list_type_kill   ((void(*)(struct list_type *))global[199])
#define LOG_TS   ((char *)(global[298]))

Definition at line 491 of file module.h.

#define logmodes   ((int(*)(char *))global[200])
#define lostdcc   ((void (*) (int))global[81])
#define make_rand_str   ((void (*) (char *, int))global[243])

Definition at line 418 of file module.h.

Referenced by chanprog(), compress_file(), makepass(), mktempfile(), and uncompress_file().

#define make_userfile   (*(int*)global[109])
#define makepass   ((void (*) (char *))global[152])

Definition at line 294 of file module.h.

Referenced by dcc_telnet_pass(), got432(), share_change(), and share_pls_bothost().

#define mask_match   ((int (*)(const char *, const char *))global[295])
#define maskaddr   ((void (*)(const char *, char *, int))global[154])

Definition at line 296 of file module.h.

Referenced by punish_badguy(), and quickban().

#define maskban ( a,
 )     maskaddr((a),(b),3)

Definition at line 496 of file module.h.

#define maskhost ( a,
 )     maskaddr((a),(b),3)

Definition at line 495 of file module.h.

Referenced by cmd_adduser(), msg_hello(), and msg_ident().

#define masktype   ((const char *(*)(int))global[201])
#define match_addr ( a,
 )     addr_match((a),(b),0,0)
#define match_ignore   ((int (*)(char *))global[141])
#define max_dcc   (*(int *)global[100])
#define MD5_Final   ((void (*)(unsigned char *, MD5_CTX *))global[279])

Definition at line 467 of file module.h.

Referenced by dcc_bot_check_digest(), dcc_bot_digest(), and tcl_md5().

#define MD5_Init   ((void (*)(MD5_CTX *))global[277])

Definition at line 465 of file module.h.

Referenced by dcc_bot_check_digest(), dcc_bot_digest(), and tcl_md5().

#define MD5_Update   ((void (*)(MD5_CTX *, void *, unsigned long))global[278])

Definition at line 466 of file module.h.

Referenced by dcc_bot_check_digest(), dcc_bot_digest(), and tcl_md5().

#define module_depend   ((Function *(*)(char *,char *,int,int))global[6])
#define module_find   ((module_entry * (*)(char *,int,int))global[5])
#define module_load   ((char *(*)(char *))global[273])

Definition at line 460 of file module.h.

Referenced by cmd_loadmod(), and tcl_loadmodule().

#define module_register   ((int (*)(char *, Function *, int, int))global[4])
#define module_rename   ((int (*)(char *, char *))global[3])

Definition at line 107 of file module.h.

Referenced by blowfish_start().

#define module_undepend   ((int(*)(char *))global[7])
#define module_unload   ((char *(*)(char *, char *))global[274])

Definition at line 461 of file module.h.

Referenced by cmd_unloadmod(), mainloop(), and tcl_unloadmodule().

#define movefile   ((int (*) (char *, char *))global[146])
#define must_be_owner   (*(int *)(global[258]))

Definition at line 437 of file module.h.

Referenced by cmd_chanset(), cmd_dump(), cmd_loadmod(), cmd_pls_chan(), cmd_set(), cmd_tcl(), and cmd_unloadmod().

#define my_atoul   ((IP(*)(char *))global[90])
#define my_memcpy   ((void * (*) (void *, const void *, size_t))global[89])
#define my_strcpy   ((int (*)(char *, const char *))global[91])
#define n_free   ((void (*)(void *,char *, int))global[37])

Definition at line 150 of file module.h.

#define natip   ((char *)(global[113]))

Definition at line 245 of file module.h.

Referenced by ctcp_CHAT(), raw_dcc_resend_send(), and start_sending_users().

#define neterror   ((void (*) (char *))global[78])
#define new_dcc   ((int (*) (struct dcc_table *, int))global[80])
#define newsplit   ((char *(*)(char **))global[137])

Definition at line 275 of file module.h.

Referenced by add_note(), bot_actchan(), bot_away(), bot_chan2(), bot_chat(), bot_filereject(), bot_filereq(), bot_filesend(), bot_idle(), bot_join(), bot_link(), bot_motd(), bot_nickchange(), bot_nlinked(), bot_part(), bot_priv(), bot_reject(), bot_trace(), bot_traced(), bot_unlink(), bot_unlinked(), bot_update(), bot_version(), bot_versions(), bot_who(), bot_zapf(), bot_zapfbroad(), botaddr_gotshare(), calc_penalty(), cmd_act(), cmd_adduser(), cmd_assoc(), cmd_boot(), cmd_botattr(), cmd_chaddr(), cmd_chaninfo(), cmd_chanset(), cmd_chat(), cmd_chattr(), cmd_chhandle(), cmd_chinfo(), cmd_chpass(), cmd_comment(), cmd_console(), cmd_dehalfop(), cmd_deluser(), cmd_deop(), cmd_desc(), cmd_devoice(), cmd_filestats(), cmd_fwd(), cmd_halfop(), cmd_handle(), cmd_info(), cmd_invite(), cmd_jump(), cmd_kick(), cmd_kickban(), cmd_link(), cmd_ln(), cmd_match(), cmd_mkdir(), cmd_mns_ban(), cmd_mns_chan(), cmd_mns_chrec(), cmd_mns_exempt(), cmd_mns_host(), cmd_mns_invite(), cmd_mns_noteign(), cmd_mns_user(), cmd_modules(), cmd_msg(), cmd_mv_cp(), cmd_newpass(), cmd_note(), cmd_notes(), cmd_op(), 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_reget_get(), cmd_resetbans(), cmd_resetexempts(), cmd_resetinvites(), cmd_say(), cmd_simul(), cmd_stick_yn(), cmd_strip(), cmd_topic(), cmd_unlink(), cmd_voice(), console_unpack(), convert_old_files(), cron_match(), ctcp_DCC_CHAT(), ctcp_DCC_RESUME(), dcc_bot_new(), dcc_chat(), dcc_telnet_pw(), deq_kick(), do_arg(), expire_notes(), fast_deq(), filesys_DCC_CHAT(), filesys_dcc_send(), fstat_gotshare(), fstat_unpack(), got251(), got303(), got311(), got315(), got324(), got331(), got332(), got346(), got347(), got348(), got349(), got352(), got354(), got367(), got368(), got403(), got405(), got432(), got433(), got437(), got438(), got442(), got465(), got471(), got473(), got474(), got475(), got_files_cmd(), gotinvite(), gotkick(), gotmode(), gotmsg(), gotnotice(), gotpart(), gotpong(), gottopic(), init_uptime(), laston_unpack(), msg_addhost(), msg_die(), msg_halfop(), msg_ident(), msg_info(), msg_invite(), msg_jump(), msg_key(), msg_memory(), msg_op(), msg_pass(), msg_reset(), msg_status(), msg_voice(), notes_change(), nsplit(), num_notes(), parse_q(), purge_kicks(), server_activity(), set_mode_protect(), share_change(), share_chattr(), share_chchinfo(), share_chhand(), share_mns_banchan(), share_mns_chrec(), share_mns_exemptchan(), share_mns_host(), 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(), share_ufsend(), sharein_mod(), tell_bans(), tell_exempts(), tell_invites(), and wordshift().

#define nextbot   ((int (*)(char *))global[35])
#define nfree (  )     (global[1]((x),MODULE_NAME,__FILE__,__LINE__))

Definition at line 101 of file module.h.

#define nmalloc (  )     (((void *(*)())global[0])((x),MODULE_NAME,__FILE__,__LINE__))

Definition at line 100 of file module.h.

#define noshare   (*(int *)(global[107]))
#define notify_new   ((char *)global[120])

Definition at line 254 of file module.h.

Referenced by dcc_telnet_pw(), msg_hello(), and tell_settings().

#define now   (*(time_t*)global[129])

Definition at line 265 of file module.h.

Referenced by add_delay(), addparty(), answer_local_whom(), blowfish_init(), blowfish_report(), bot_infoq(), bot_join(), bot_part(), bot_traced(), bot_version(), botlink(), botlink_resolve_success(), check_delay(), check_expired_bans(), check_expired_chanstuff(), check_expired_dcc(), check_expired_exempts(), check_expired_invites(), check_expired_tbufs(), cmd_botinfo(), cmd_channel(), cmd_files(), cmd_kickban(), cmd_ln(), cmd_mkdir(), cmd_onwire(), cmd_pls_ban(), cmd_pls_exempt(), cmd_pls_ignore(), cmd_pls_invite(), cmd_trace(), connect_server(), core_secondly(), ctcp_DCC_CHAT(), ctcp_TIME(), dcc_chat(), dcc_chat_hostresolved(), dcc_files(), dcc_files_pass(), dcc_fork_send(), dcc_get_pending(), dcc_ident(), dcc_script(), dcc_telnet(), dcc_telnet_got_ident(), dcc_telnet_hostresolved(), dcc_telnet_id(), dcc_telnet_new(), dcc_telnet_pass(), deq_msg(), detect_chan_flood(), detect_dcc_flood(), detect_flood(), detect_telnet_flood(), display_ban(), display_dcc_bot_new(), display_dcc_chat_pass(), display_dcc_dnswait(), display_dcc_identwait(), display_dcc_telnet_id(), display_dcc_telnet_new(), display_dcc_telnet_pw(), display_exempt(), display_invite(), dns_check_expires(), dns_start(), do_seen(), dump_links(), eof_dns_socket(), expire_notes(), failed_link(), failed_tandem_relay(), failrp(), fake_alert(), filedb_add(), filedb_initdb(), filedb_open(), filedb_setlink(), filedb_update(), filesys_DCC_CHAT(), filesys_dcc_send_hostresolved(), flush_modes(), flushlogs(), global(), got001(), got352or4(), gotinvite(), gotjoin(), gotkick(), gotmode(), gotmsg(), gotnick(), gotnotice(), gotpart(), gotpong(), gotquit(), gottopic(), greet_new_bot(), help_subst(), main(), mainloop(), msg_status(), new_tbuf(), newmask(), partyidle(), partysetidle(), passrp(), punish_badguy(), queue_server(), raw_dcc_resend_send(), refresh_ban_kick(), refresh_exempt(), refresh_invite(), rembot(), remote_tell_who(), resendrequest(), server_5minutely(), server_report(), server_resolve_success(), set_delay(), share_pls_ban(), share_pls_banchan(), share_pls_exempt(), share_pls_exemptchan(), share_pls_ignore(), share_pls_invite(), share_pls_invitechan(), share_ufsend(), start_sending_users(), tandem_relay(), tandem_relay_resolve_success(), tcl_newignore(), tcl_strftime(), tell_bans(), tell_exempts(), tell_invites(), tell_verbose_status(), tell_verbose_uptime(), tell_who(), u_addban(), u_addexempt(), u_addinvite(), update_idle(), wire_filter(), and write_channels().

#define nrealloc ( x,
 )     (((void *(*)())global[230])((x),(y),MODULE_NAME,__FILE__,__LINE__))

Definition at line 391 of file module.h.

#define nstrdup (  )     (((char *(*)())global[299])((x),MODULE_NAME,__FILE__,__LINE__))

Definition at line 492 of file module.h.

#define oatoi   ((int (*) (const char *))global[291])

Definition at line 482 of file module.h.

Referenced by tcl_eggint().

#define online_since   (*(int *)(global[205]))
#define open_address_listen   ((int (*)(IP addr, int *port))global[261])

Definition at line 441 of file module.h.

#define open_listen   ((int (*) (int *))global[84])

Definition at line 209 of file module.h.

Referenced by raw_dcc_resend_send().

#define open_telnet   ((int (*) (char *, int))global[87])

Definition at line 212 of file module.h.

Referenced by dcc_telnet_hostresolved(), and server_resolve_success().

#define open_telnet_dcc   ((int (*) (int,char *,char *))global[85])
#define origbotname   ((char *)(global[115]))
#define parties   (*(int *)global[275])
#define party   (*(party_t **)(global[260]))

Definition at line 440 of file module.h.

#define password_timeout   (*(int *)(global[98]))

Definition at line 226 of file module.h.

Referenced by filesys_start().

#define protect_readonly   (*(int *)(global[244]))

Definition at line 420 of file module.h.

Referenced by chanprog(), tcl_eggint(), tcl_eggstr(), and void().

#define putlog   (global[197])

Definition at line 350 of file module.h.

Referenced by _dcc_send(), add_lang_section(), addbot(), backup_chanfile(), backup_userfile(), bgtclcallback(), bot_bye(), bot_error(), bot_filereject(), bot_infoq(), bot_link(), bot_linked(), bot_motd(), bot_nlinked(), bot_old_userfile(), bot_reject(), bot_thisbot(), bot_ufno(), bot_unlink(), bot_version(), botaddr_gotshare(), botlink(), botlink_resolve_failure(), botnet_change(), botunlink(), calc_penalty(), call_hostbyip(), call_ipbyhost(), call_tcl_func(), cancel_user_xfer(), channels_writeuserfile(), check_botnet_pings(), check_dcc_attrs(), check_expired_bans(), check_expired_chanstuff(), check_expired_exempts(), check_expired_invites(), check_expired_tbufs(), check_logsize(), check_lonely_channel(), check_tcl_fil(), check_tcl_msg(), cmd_act(), cmd_addlog(), cmd_adduser(), cmd_assoc(), cmd_backup(), cmd_bans(), cmd_binds(), cmd_boot(), cmd_botattr(), cmd_botinfo(), cmd_bots(), cmd_bottree(), cmd_cancel(), cmd_chaddr(), cmd_chaninfo(), cmd_chanload(), cmd_channel(), cmd_chansave(), cmd_chanset(), cmd_chattr(), cmd_chdir(), cmd_chhandle(), cmd_chinfo(), cmd_chpass(), cmd_clearqueue(), cmd_comment(), cmd_console(), cmd_dccstat(), cmd_debug(), cmd_dehalfop(), cmd_deluser(), cmd_deop(), cmd_desc(), cmd_devoice(), cmd_die(), cmd_dump(), cmd_exempts(), cmd_file_help(), cmd_files(), cmd_filestats(), cmd_fixcodes(), cmd_fwd(), cmd_halfop(), cmd_handle(), cmd_help(), cmd_hide(), cmd_ignores(), cmd_info(), cmd_invite(), cmd_invites(), cmd_jump(), cmd_kick(), cmd_kickban(), cmd_languagedump(), cmd_languagestatus(), cmd_link(), cmd_ln(), cmd_loadlanguage(), cmd_loadmod(), cmd_match(), cmd_mkdir(), 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_mv_cp(), cmd_newpass(), cmd_noteigns(), cmd_notes(), cmd_op(), cmd_optimize(), cmd_page(), cmd_pending(), 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_pwd(), cmd_reget_get(), cmd_rehash(), cmd_rehelp(), cmd_relay(), cmd_reload(), cmd_reset(), cmd_resetbans(), cmd_resetexempts(), cmd_resetinvites(), cmd_restart(), cmd_rm(), cmd_rmdir(), cmd_save(), cmd_say(), cmd_servers(), cmd_set(), cmd_share(), cmd_simul(), cmd_stats(), cmd_status(), cmd_stick_yn(), cmd_strip(), cmd_su(), cmd_topic(), cmd_trace(), cmd_traffic(), cmd_unhide(), cmd_unlink(), cmd_unloadmod(), cmd_unshare(), cmd_uptime(), cmd_vbottree(), cmd_voice(), cmd_who(), cmd_whoami(), cmd_whois(), cmd_whom(), cmd_woobie(), compress_to_file(), connect_server(), cont_tandem_relay(), convert_old_db(), convert_old_files(), core_secondly(), ctcp_DCC_CHAT(), dcc_bot(), dcc_bot_check_digest(), dcc_bot_digest(), dcc_bot_new(), dcc_chat(), dcc_chat_hostresolved(), dcc_chat_pass(), dcc_files(), dcc_files_pass(), dcc_fork_send(), dcc_get_pending(), dcc_relaying(), dcc_seen(), dcc_telnet(), dcc_telnet_got_ident(), dcc_telnet_hostresolved(), dcc_telnet_id(), dcc_telnet_new(), dcc_telnet_pass(), dcc_telnet_pw(), def_gotshare(), deq_kick(), deq_msg(), detect_chan_flood(), detect_flood(), detect_telnet_flood(), dnstclcallback(), do_dcc_send(), eof_dcc_bot(), eof_dcc_bot_new(), eof_dcc_chat(), eof_dcc_dnswait(), eof_dcc_dupwait(), 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(), eof_server(), expire_notes(), failed_link(), failed_pre_relay(), failed_tandem_relay(), fake_alert(), fast_deq(), fatal(), filedb_open(), filedb_update(), fileq_cancel(), files_ls(), filesys_close(), filesys_DCC_CHAT(), filesys_dcc_send(), finish_share(), global(), got001(), got251(), got303(), got315(), got324(), got403(), got405(), got432(), got433(), got437(), got438(), got442(), got451(), got465(), got471(), got473(), got474(), got475(), got_dehalfop(), got_deop(), got_halfop(), got_hup(), got_ill(), got_op(), got_quit(), got_term(), goterror(), gotfake433(), gotinvite(), gotjoin(), gotkick(), gotmode(), gotmsg(), gotnick(), gotnotice(), gotpart(), gotquit(), gottopic(), gotwall(), greet_new_bot(), increase_socks_max(), init_dns_core(), init_dns_network(), init_uptime(), int(), kill_bind(), killmember(), main(), mainloop(), msg_addhost(), msg_die(), msg_go(), msg_halfop(), msg_hello(), 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(), n_free(), n_malloc(), n_realloc(), new_tbuf(), notes_change(), null_share(), pre_relay(), punish_badguy(), purge_kicks(), queue_server(), raw_dcc_resend_send(), read_channels(), read_lang(), reload(), remote_filereq(), remote_tell_who(), resetmasks(), send_next_file(), server_5minutely(), server_activity(), server_resolve_failure(), server_resolve_success(), 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_resync(), share_resync_no(), share_resyncq(), share_stick_ban(), share_stick_exempt(), share_stick_invite(), share_ufno(), share_ufsend(), share_ufyes(), share_userfileq(), start_sending_users(), status_log(), tandem_relay_resolve_failure(), tcl_loadmodule(), tcl_putcmdlog(), tcl_putlog(), tcl_putloglev(), tcl_putxferlog(), timeout_dcc_bot_new(), timeout_dcc_telnet_id(), timeout_dupwait(), timeout_server(), tout_dcc_chat_pass(), tout_dcc_telnet_new(), tout_dcc_telnet_pw(), transfer_close(), u_addban(), uf_features_check(), uff_addfeature(), uncompress_to_file(), void(), whoispenalty(), write_channels(), and write_tmp_userfile().

#define quiet_reject   (*(int *)(global[284]))
#define quit_msg   ((char *)(global[272]))

Definition at line 459 of file module.h.

Referenced by cmd_die(), server_die(), and tcl_die().

#define raw_log   (*(int *)(global[106]))
#define readtclprog   ((int (*)(const char *))global[149])

Definition at line 290 of file module.h.

Referenced by chanprog(), and read_channels().

#define readuserfile   ((int (*)(char *,struct userrec **))global[54])

Definition at line 171 of file module.h.

Referenced by chanprog(), finish_share(), and reload().

#define reaffirm_owners   ((void (*)(void))global[58])

Definition at line 176 of file module.h.

Referenced by chanprog(), dcc_telnet_new(), finish_share(), and reload().

#define rem_builtins   ((int (*) (p_tcl_bind_list, cmd_t *))global[13])
#define rem_help_reference   ((void(*)(char *))global[159])
#define rem_tcl_commands   ((void (*) (tcl_cmds *))global[15])
#define rem_tcl_coups   ((void (*) (tcl_coups *))global[210])

Definition at line 366 of file module.h.

Referenced by channels_close(), kill_tcl(), and server_close().

#define rem_tcl_ints   ((void (*) (tcl_ints *))global[17])
#define rem_tcl_strings   ((void (*) (tcl_strings *))global[19])
#define remove_crlf   ((void (*) (char **))global[293])

Definition at line 485 of file module.h.

Referenced by queue_server().

#define removedcc   ((void (*) (int))global[246])

Definition at line 422 of file module.h.

Referenced by dcc_remove_lost().

#define require_p   (*(int *)global[101])
#define reserved_port_max   (*(int *)(global[105]))

Definition at line 235 of file module.h.

Referenced by raw_dcc_resend_send().

#define reserved_port_min   (*(int *)(global[104]))

Definition at line 234 of file module.h.

Referenced by _dcc_send(), and raw_dcc_resend_send().

#define rfc_casecmp   ((int(*)(char *, char *))(*(Function**)(global[218])))
#define rfc_ncasecmp   ((int(*)(char *, char *, int *))(*(Function**)(global[219])))

Definition at line 377 of file module.h.

#define rmspace   ((void (*)(char *))global[162])
#define sanity_check   ((int(*)(int))global[63])
#define sanitycheck_dcc   ((int (*)(char *, char *, char *, char *))global[214])

Definition at line 371 of file module.h.

Referenced by ctcp_DCC_CHAT(), and filesys_dcc_send().

#define set_user   ((int(*)(struct user_entry_type *,struct userrec *,void *))global[41])
#define set_user_flagrec   ((void (*)(struct userrec *, struct flag_record *, const char *))global[45])
#define share_greet   (*(int *)global[99])

Definition at line 227 of file module.h.

Referenced by channels_start(), def_set(), set_handle_chaninfo(), and share_chchinfo().

#define shareout   (*(Function *)(global[68]))
#define show_motd   ((void(*)(int))global[155])

Definition at line 297 of file module.h.

Referenced by cmd_motd(), dcc_chatter(), and welcome_to_files().

#define showhelp   ((void(*)(char *, char *, struct flag_record *, int))global[157])

Definition at line 300 of file module.h.

Referenced by msg_help(), and tcl_dumpfile().

#define simple_sprintf   ((int (*)())global[23])

Definition at line 132 of file module.h.

Referenced by _user_malloc(), _user_realloc(), add_note(), answer_local_whom(), bot_bye(), bot_linked(), bot_nlinked(), bot_reject(), bot_thisbot(), bot_trace(), botaddr_pack(), botnet_send_act(), botnet_send_assoc(), botnet_send_away(), botnet_send_chan(), botnet_send_chat(), botnet_send_filereject(), botnet_send_filereq(), botnet_send_filesend(), botnet_send_idle(), botnet_send_infoq(), botnet_send_join_idx(), botnet_send_join_party(), botnet_send_link(), botnet_send_motd(), botnet_send_nkch(), botnet_send_nkch_part(), botnet_send_nlinked(), botnet_send_part_idx(), botnet_send_part_party(), botnet_send_reject(), botnet_send_trace(), botnet_send_traced(), botnet_send_unlink(), botnet_send_unlinked(), botnet_send_update(), botnet_send_who(), botnet_send_zapf(), botnet_send_zapf_broad(), botunlink(), channels_writeuserfile(), check_botnet_pings(), check_tcl_msgm(), cmd_banner(), cmd_botinfo(), cmd_link(), cmd_motd(), cmd_onwire(), cmd_pls_ignore(), cmd_reget_get(), cmd_trace(), cmd_unlink(), cmd_who(), console_chon(), console_pack(), console_tcl_get(), convert_old_db(), ctcp_CHAT(), ctcp_CLIENTINFO(), ctcp_ECHOERR(), ctcp_FINGER(), ctcp_PING(), ctcp_TIME(), ctcp_USERINFO(), ctcp_VERSION(), dcc_ident(), dcc_telnet_new(), detect_chan_flood(), detect_flood(), display_dcc_bot(), display_dcc_chat(), dump_links(), EGG_VARARGS_DEF(), enforce_bans(), eof_dcc_ident(), expired_mask(), fast_deq(), filedb_open(), files_reget(), got352or4(), got_dehalfop(), got_deop(), got_exempt(), got_halfop(), got_invite(), got_op(), gotkick(), gotmode(), gotmsg(), irc_report(), link_assoc(), punish_badguy(), remote_filereq(), remote_tell_who(), resolve_help(), status_tbufs(), tell_who(), u_addban(), u_addexempt(), u_addinvite(), wire_join(), wire_leave(), and zapfbot().

#define sock_has_data   ((int(*)(int, int))global[248])

Definition at line 425 of file module.h.

#define socklist   (*(struct sock_list **)global[268])

Definition at line 454 of file module.h.

#define sockoptions   ((int (*)(int, int, int))global[269])

Definition at line 455 of file module.h.

Referenced by dcc_telnet(), and dcc_telnet_got_ident().

#define splitc   ((void (*)(char *,char *,char))global[139])
#define splitnick   ((char *(*)(char **))global[138])
#define str_escape   ((char *(*)(const char *, const char, const char))global[262])
#define str_isdigit   ((int (*) (const char *))global[292])
#define str_unescape   ((void (*)(char *, register const char))global[264])
#define strchr_unescape   ((char *(*)(char *, const char, register const char))global[263])

Definition at line 443 of file module.h.

Referenced by str_unescape().

#define strip_mirc_codes   ((void (*)(int, char *))global[289])

Definition at line 480 of file module.h.

Referenced by out_dcc_general(), and tcl_stripcodes().

#define stripmasktype   ((const char *(*)(int))global[203])
#define stripmodes   ((int(*)(char *))global[202])

Definition at line 356 of file module.h.

Referenced by cmd_strip(), console_tcl_set(), and console_unpack().

#define sub_lang   ((void(*)(int,char *))global[204])

Definition at line 359 of file module.h.

Referenced by dcc_telnet_got_ident(), and welcome_to_files().

#define tandbot   (*(tand_t **)(global[259]))

Definition at line 438 of file module.h.

#define tell_bottree   ((void (*)(int, int))global[276])

Definition at line 464 of file module.h.

Referenced by cmd_bottree(), and cmd_vbottree().

#define tell_mem_status   ((void(*)(char *))global[169])

Definition at line 315 of file module.h.

Referenced by msg_memory().

#define tellhelp   ((void(*)(int, char *, struct flag_record *, int))global[156])

Definition at line 299 of file module.h.

Referenced by cmd_file_help(), cmd_help(), and tcl_dccdumpfile().

#define tempdir   ((char *)(global[112]))
#define touch_laston   ((void (*)(struct userrec *,char *,time_t))global[160])
#define tputs   ((void (*) (int, char *,unsigned int))global[79])
#define u_pass_match   ((int (*)(struct userrec *,char *))global[38])
#define updatebot   ((void(*)(int,char*,char,int))global[34])
#define use_exempts   (*(int *)(global[225]))
#define use_invites   (*(int *)(global[226]))
#define user_del_chan   ((void(*)(char *))(global[193]))

Definition at line 345 of file module.h.

Referenced by remove_channel().

#define user_malloc (  )     ((void *(*)(int,char *,int))global[39])(x,__FILE__,__LINE__)
#define user_realloc ( x,
 )     ((void *(*)(void *,int,char *,int))global[229])((x),(y),__FILE__,__LINE__)

Definition at line 390 of file module.h.

Referenced by def_set().

#define USERENTRY_BOTADDR   (*(struct user_entry_type *)(global[188]))
#define USERENTRY_BOTFL   (*(struct user_entry_type *)(global[189]))

Definition at line 340 of file module.h.

Referenced by finish_share(), get_user_flagrec(), init_userent(), and set_user_flagrec().

#define USERENTRY_COMMENT   (*(struct user_entry_type *)(global[195]))

Definition at line 347 of file module.h.

Referenced by check_this_member(), cmd_comment(), gotjoin(), init_userent(), and punish_badguy().

#define USERENTRY_HOSTS   (*(struct user_entry_type *)(global[190]))
#define USERENTRY_INFO   (*(struct user_entry_type *)(global[194]))
#define USERENTRY_LASTON   (*(struct user_entry_type *)(global[196]))

Definition at line 349 of file module.h.

Referenced by do_seen(), gotjoin(), init_userent(), laston_dupuser(), and laston_tcl_set().

#define USERENTRY_PASS   (*(struct user_entry_type *)(global[191]))
#define USERENTRY_XTRA   (*(struct user_entry_type *)(global[192]))

Definition at line 344 of file module.h.

Referenced by getxtra(), global(), init_userent(), and msg_whois().

#define userfile   ((char *)global[118])

Definition at line 251 of file module.h.

Referenced by backup_userfile(), channels_writeuserfile(), chanprog(), reload(), and tell_settings().

#define userfile_perm   (*(int *)global[247])

Definition at line 423 of file module.h.

Referenced by expire_notes(), notes_change(), tcl_eggint(), and write_channels().

#define userlist   (*(struct userrec **)global[94])
#define users_in_subtree   ((int (*)(tand_t *))global[250])
#define ver   ((char *)global[119])
#define Version   ((char *)global[122])

Definition at line 256 of file module.h.

#define wild_match   ((int (*)(const char *, const char *))global[153])
#define wild_match_per   ((int (*)(const char *, const char *))global[280])

Definition at line 469 of file module.h.

Referenced by tcl_binds().

#define write_ignores   ((int (*)(FILE *, int))global[282])

Definition at line 471 of file module.h.

Referenced by write_tmp_userfile().

#define write_user   ((int (*)(struct userrec *, FILE *,int))global[60])

Definition at line 179 of file module.h.

Referenced by write_tmp_userfile().

#define write_userfile   ((void(*)(int))global[55])
#define xtra_kill   ((void (*)(struct user_entry *))global[144])

Definition at line 284 of file module.h.

#define xtra_set   ((int(*)(struct userrec *,struct user_entry *, void *))global[231])

Definition at line 392 of file module.h.

#define xtra_unpack   ((void (*)(struct userrec *, struct user_entry *))global[145])

Definition at line 285 of file module.h.

#define zapfbot   ((void (*)(int))global[36])

Definition at line 149 of file module.h.

Referenced by share_ufsend(), and uf_features_check().


Generated on 7 Sep 2016 for Eggdrop by  doxygen 1.6.1