shared.h File Reference


Detailed Description

Contains shared structures.

Definition in file shared.h.

#include <vector>
#include <string>
#include <map>
#include <list>
#include "md5.h"

Include dependency graph for shared.h:

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

Go to the source code of this file.

Namespaces

namespace  std

Classes

struct  s_channel
 Stores definition of properties for user on specific channel. More...
struct  s_channel_def
 Stores informations about channel definitions. More...
struct  s_command
 Stores one command in the procedure. More...
struct  s_dcc_host
 Stores host for DCC connection. More...
struct  s_dcc_request_whois
 Stores DCC requests that are pending to establis, and waiting for whois result. More...
struct  s_dynamic_rule
 Stores user's dynamic modes rule. More...
struct  s_flood
 Stores flood limit. More...
struct  s_flood_history
 Stores statistics entry for flood detection. More...
struct  s_group
 Stores name of group. More...
struct  s_irc_server
 Stores irc server connection info. More...
struct  s_lines
 Stores helping data for compiling (if_XXX,...). More...
struct  s_online_channel
 Stores channels information on wich the bot is. More...
struct  s_online_user
 Stores data about connected user of channel. More...
struct  s_private
 Stores informations about what to do when someone sends query message. More...
struct  s_procedure
 Stores procedure implementation and its properties. More...
struct  s_replication
 Stores replication list. More...
struct  s_rproc
 Stores procedure's properties entry describing ability to call remotely (BOTNET). More...
struct  s_smtp
 Stores data for sending an e-mail via SMTP protocol. More...
struct  s_user
 Stores user options. More...
struct  s_user_to_lock_out
 Stores information about locked out users due to bad logins. More...

Defines

#define _admin_msg   69
 "admin_msg" command
#define _ban_mask   32
 "ban_mask" command
#define _bot_auth   25
 "bot_auth" command
#define _bot_fullname   24
 "bot_fullname" command
#define _bot_ident   23
 "bot_ident" command
#define _bot_ident_ipv6   66
 "bot_ident_ipv6" command
#define _bot_nick   22
 "bot_nick" command
#define _bot_redir   26
 "bot_redir" command
#define _chan_mode   50
 "chan_mode" command
#define _change_nick   52
 "change_nick" command
#define _check_dynamic_bans   60
 "check_dynamic_bans" command
#define _dcc_server   33
 "dcc_server" command
#define _dcc_server_ipv6   63
 "dcc_server_ipv6" command
#define _delete_irc_servers   67
 "delete_irc_servers" command
#define _delete_nicks   68
 "delete_nicks" command
#define _deop   2
 "deop" command
#define _devoice   6
 "devoice" command
#define _disconnect   20
 "disconnect" command
#define _dynamic_ban   59
 "dynamic_ban" command
#define _end_bracket   37
 Working value (for conversion function back to text).
#define _execute   14
 "execute" command
#define _get_chan_mode   56
 "get_chan_mode" command
#define _get_chan_topic   57
 "get_chan_topic" command
#define _goto   1002
 Working value.
#define _host   39
 "host" command
#define _ident   38
 "ident" command
#define _if_error   34
 "if_error" command
#define _if_group   10
 "if_group" command
#define _if_in   45
 "if_in" command
#define _if_match   9
 "if_match" command
#define _if_match_case_insensitive   41
 "if_match_case_insensitive" command
#define _if_n_group   48
 "!if_group" command
#define _if_n_in   46
 "!if_in" command
#define _if_n_match   47
 "!if_match" command
#define _if_n_match_case_insensitive   49
 "!if_match_case_insensitive" command
#define _irc_server   54
 "irc_server" command
#define _join   18
 "join" command
#define _kick   7
 "kick" command
#define _kill_timers   55
 "kill_timers" command
#define _label   1001
 Working value (for _goto).
#define _link   43
 "link" command
#define _log   17
 "LOG" command
#define _msg   8
 "msg" command
#define _msgq   51
 "msgq" command
#define _net_send   16
 "NET_SEND" command
#define _notice   30
 "notice" command
#define _noticeq   53
 "noticeq" command
#define _op   1
 "op" command
#define _part   19
 "part" command
#define _process_on_banned   61
 "process_on_banned" command
#define _raw   64
 "raw" command
#define _real_goto   36
 "goto" command
#define _real_label   35
 Working value (for _goto).
#define _remote_execute   65
 "remote_execute" command
#define _restart   29
 "restart" command
#define _return   11
 "return" command
#define _script   40
 "SCRIPT" command
#define _sleep_   28
 "sleep" command
#define _smtp   15
 "SMTP" command
#define _telnet_server   42
 "telnet_server" command
#define _telnet_server_ipv6   62
 "telnet_server_ipv6" command
#define _timer_every   13
 "timer_every" command
#define _timer_once   12
 "timer_once" command
#define _topic   58
 "topic" command
#define _try_connect   21
 "try_connect" command
#define _unban_mask   31
 "unban_mask" command
#define _voice   5
 "voice" command
#define _wait   27
 "wait" command
#define _work   44
 "work" command
#define PRIVATE_EVENT_SEVERITY_CODE_CRITICAL_ERROR   7
 For event "on_internal_event": Severity code CRITICAL_ERROR.
#define PRIVATE_EVENT_SEVERITY_CODE_ERROR   5
 For event "on_internal_event": Severity code ERROR.
#define PRIVATE_EVENT_SEVERITY_CODE_FATAL_ERROR   9
 For event "on_internal_event": Severity code FATAL_ERROR.
#define PRIVATE_EVENT_SEVERITY_CODE_INFORMATIONAL   1
 For event "on_internal_event": Severity code INFORMATIONAL.
#define PRIVATE_EVENT_SEVERITY_CODE_NA   0
 For event "on_internal_event": Severity code N/A.
#define PRIVATE_EVENT_SEVERITY_CODE_WARNING   3
 For event "on_internal_event": Severity code WARNING.
#define REPL_INVALID   0
 Invalid replication parameter/mode.
#define REPL_PULL   2
 Pull replication.
#define REPL_PUSH   1
 Push replication.
#define REPL_PUSHPULL   3
 Push/pull replication.


Define Documentation

#define _admin_msg   69
 

"admin_msg" command

Warning:
Botnet protocol version 10 required for replication!

Definition at line 794 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _ban_mask   32
 

"ban_mask" command

Definition at line 591 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _bot_auth   25
 

"bot_auth" command

Definition at line 556 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _bot_fullname   24
 

"bot_fullname" command

Definition at line 551 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _bot_ident   23
 

"bot_ident" command

Definition at line 546 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _bot_ident_ipv6   66
 

"bot_ident_ipv6" command

Warning:
Botnet protocol version 4 required for replication!

Definition at line 770 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _bot_nick   22
 

"bot_nick" command

Definition at line 541 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _bot_redir   26
 

"bot_redir" command

Definition at line 561 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _chan_mode   50
 

"chan_mode" command

Definition at line 681 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _change_nick   52
 

"change_nick" command

Definition at line 691 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _check_dynamic_bans   60
 

"check_dynamic_bans" command

Definition at line 731 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _dcc_server   33
 

"dcc_server" command

Definition at line 596 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _dcc_server_ipv6   63
 

"dcc_server_ipv6" command

Definition at line 746 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _delete_irc_servers   67
 

"delete_irc_servers" command

Warning:
Botnet protocol version 6 required for replication!

Definition at line 778 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _delete_nicks   68
 

"delete_nicks" command

Warning:
Botnet protocol version 6 required for replication!

Definition at line 786 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _deop   2
 

"deop" command

Definition at line 451 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _devoice   6
 

"devoice" command

Definition at line 461 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _disconnect   20
 

"disconnect" command

Definition at line 531 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _dynamic_ban   59
 

"dynamic_ban" command

Definition at line 726 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _end_bracket   37
 

Working value (for conversion function back to text).

Definition at line 616 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), logic_parse_proc(), and logic_process_line().

#define _execute   14
 

"execute" command

Definition at line 501 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _get_chan_mode   56
 

"get_chan_mode" command

Definition at line 711 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _get_chan_topic   57
 

"get_chan_topic" command

Definition at line 716 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _goto   1002
 

Working value.

Definition at line 809 of file shared.h.

Referenced by logic_exec(), and logic_list_proc().

#define _host   39
 

"host" command

Definition at line 626 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _ident   38
 

"ident" command

Definition at line 621 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _if_error   34
 

"if_error" command

Definition at line 601 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _if_group   10
 

"if_group" command

Definition at line 481 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _if_in   45
 

"if_in" command

Definition at line 656 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _if_match   9
 

"if_match" command

Definition at line 476 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _if_match_case_insensitive   41
 

"if_match_case_insensitive" command

Definition at line 636 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _if_n_group   48
 

"!if_group" command

Definition at line 671 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _if_n_in   46
 

"!if_in" command

Definition at line 661 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _if_n_match   47
 

"!if_match" command

Definition at line 666 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _if_n_match_case_insensitive   49
 

"!if_match_case_insensitive" command

Definition at line 676 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _irc_server   54
 

"irc_server" command

Definition at line 701 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _join   18
 

"join" command

Definition at line 521 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _kick   7
 

"kick" command

Definition at line 466 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _kill_timers   55
 

"kill_timers" command

Definition at line 706 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _label   1001
 

Working value (for _goto).

Definition at line 804 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _link   43
 

"link" command

Definition at line 646 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _log   17
 

"LOG" command

Definition at line 516 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _msg   8
 

"msg" command

Definition at line 471 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _msgq   51
 

"msgq" command

Definition at line 686 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _net_send   16
 

"NET_SEND" command

Definition at line 511 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _notice   30
 

"notice" command

Definition at line 581 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _noticeq   53
 

"noticeq" command

Definition at line 696 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _op   1
 

"op" command

Definition at line 446 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _part   19
 

"part" command

Definition at line 526 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _process_on_banned   61
 

"process_on_banned" command

Definition at line 736 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _raw   64
 

"raw" command

Warning:
Botnet protocol version 2 required for replication!

Definition at line 754 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _real_goto   36
 

"goto" command

Definition at line 611 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _real_label   35
 

Working value (for _goto).

Definition at line 606 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _remote_execute   65
 

"remote_execute" command

Warning:
Botnet protocol version 3 required for replication!

Definition at line 762 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _restart   29
 

"restart" command

Definition at line 576 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _return   11
 

"return" command

Definition at line 486 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _script   40
 

"SCRIPT" command

Definition at line 631 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _sleep_   28
 

"sleep" command

Definition at line 571 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _smtp   15
 

"SMTP" command

Definition at line 506 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _telnet_server   42
 

"telnet_server" command

Definition at line 641 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _telnet_server_ipv6   62
 

"telnet_server_ipv6" command

Definition at line 741 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _timer_every   13
 

"timer_every" command

Definition at line 496 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _timer_once   12
 

"timer_once" command

Definition at line 491 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _topic   58
 

"topic" command

Definition at line 721 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _try_connect   21
 

"try_connect" command

Definition at line 536 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _unban_mask   31
 

"unban_mask" command

Definition at line 586 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _voice   5
 

"voice" command

Definition at line 456 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _wait   27
 

"wait" command

Definition at line 566 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define _work   44
 

"work" command

Definition at line 651 of file shared.h.

Referenced by logic_exec(), logic_list_proc(), and logic_process_line().

#define PRIVATE_EVENT_SEVERITY_CODE_CRITICAL_ERROR   7
 

For event "on_internal_event": Severity code CRITICAL_ERROR.

Definition at line 1295 of file shared.h.

Referenced by botnet_loop(), and logic_init_severities().

#define PRIVATE_EVENT_SEVERITY_CODE_ERROR   5
 

For event "on_internal_event": Severity code ERROR.

Definition at line 1289 of file shared.h.

Referenced by botnet_loop(), dcc_upgrade(), logic_init_severities(), logic_rehash(), and logic_rollback().

#define PRIVATE_EVENT_SEVERITY_CODE_FATAL_ERROR   9
 

For event "on_internal_event": Severity code FATAL_ERROR.

Definition at line 1301 of file shared.h.

Referenced by logic_init_severities(), logic_rehash(), and main().

#define PRIVATE_EVENT_SEVERITY_CODE_INFORMATIONAL   1
 

For event "on_internal_event": Severity code INFORMATIONAL.

Definition at line 1277 of file shared.h.

Referenced by botnet_loop(), botnet_push_chan(), botnet_push_proc(), botnet_push_prv(), botnet_push_user(), dcc_loop(), dcc_upgrade(), log_bot(), log_botnet(), log_botnet_debug(), log_broadcast(), log_channel(), log_debug(), log_identd(), log_irc(), log_socket(), log_ssl(), logic_init_severities(), logic_partyline_backup(), logic_rehash(), logic_rollback(), and main().

#define PRIVATE_EVENT_SEVERITY_CODE_NA   0
 

For event "on_internal_event": Severity code N/A.

Definition at line 1271 of file shared.h.

Referenced by logic_init_severities().

#define PRIVATE_EVENT_SEVERITY_CODE_WARNING   3
 

For event "on_internal_event": Severity code WARNING.

Definition at line 1283 of file shared.h.

Referenced by botnet_loop(), logic_init_severities(), logic_on_ircop(), and logic_partyline_backup().

#define REPL_INVALID   0
 

Invalid replication parameter/mode.

Definition at line 74 of file shared.h.

Referenced by dcc_loop_replication(), logic_process_line(), and s_replication::s_replication().

#define REPL_PULL   2
 

Pull replication.

Definition at line 84 of file shared.h.

Referenced by botnet_loop(), dcc_loop_replication(), logic_get_pull_chan_defs(), logic_get_pull_procs(), logic_get_pull_users(), logic_partyline_backup(), and logic_process_line().

#define REPL_PUSH   1
 

Push replication.

Definition at line 79 of file shared.h.

Referenced by botnet_loop(), dcc_loop_replication(), logic_get_push_chan_defs(), logic_get_push_procs(), logic_get_push_users(), logic_partyline_backup(), and logic_process_line().

#define REPL_PUSHPULL   3
 

Push/pull replication.

Definition at line 89 of file shared.h.

Referenced by botnet_loop(), dcc_loop_replication(), logic_get_pull_chan_defs(), logic_get_pull_procs(), logic_get_pull_users(), logic_get_push_chan_defs(), logic_get_push_procs(), logic_get_push_users(), logic_partyline_backup(), and logic_process_line().


Generated on Sun Jul 10 05:37:31 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo