s_user Struct Reference

#include <shared.h>

Collaboration diagram for s_user:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores user options.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 138 of file shared.h.

Public Member Functions

void clear ()
 s_user ()

Public Attributes

bool access_grant_apply
 Can this user grant accesst to .apply command to other user?
bool access_grant_backup
 Can this user grant/deny access to .backup command to other user?
bool access_grant_can_send_all_users
 Can this user grant right to send message / file to all users?
bool access_grant_can_send_unknown_users
 Can this grant right to other user to send message / file to unknown users on all bot's channels?
vector< string > access_grant_channel
 This user can add or exclude users to/from these channels.
bool access_grant_die
 Can this user grant accesst to .die command to other user?
bool access_grant_filesystem
 Can this user grant accesst to .filesystem command to other user?
vector< string > access_grant_group
 This user can add or exclude users to/from these groups.
bool access_grant_partyline
 Can this user grant/deny access to partyline to other user?
bool access_grant_plusproc
 Can this user (or bot) grant creation of new procedure to other user?
bool access_grant_plususer
 Can this user (or bot) grant creation of new user to other user?
bool access_grant_private
 Can this user grant accesst to private definition to other user?
vector< string > access_grant_procedure
 This user can grant access to this procedure to other user.
bool access_grant_rehash
 Can this user grant/deny access to .rehash command to other user?
bool access_grant_replication
 Can this user (or bot) grant to other user right to change replication parameters?
bool access_grant_restart
 Can this user grant accesst to .restart command to other user?
bool access_grant_upgrade
 Can this user grant accesst to .upgrade command to other user?
bool access_to_apply
 Has user access to .apply command?
bool access_to_backup
 Can this user use .backup command?
bool access_to_can_send_all_users
 Can this user send message / file to all users?
bool access_to_can_send_unknown_users
 Can this user send message / file to unknown users on all bot's channels?
vector< string > access_to_channel
 This user can modify properties of these channels.
bool access_to_die
 Has user access to .die command?
bool access_to_filesystem
 Has user access to .filesystem command?
vector< string > access_to_group
 This user can modify properties of users of these groups.
bool access_to_partyline
 Has this user access to partyline?
bool access_to_plusproc
 Can this user (or bot) create new procedure?
bool access_to_plususer
 Can this user (or bot) create new user?
bool access_to_private
 Has this user access to modufy private query definition?
vector< string > access_to_proc
 This user can modify procedure commands.
bool access_to_rehash
 Can this user use .rehash command?
bool access_to_replication
 Can this user change replication parameters?
bool access_to_restart
 Has user access to .restart command?
bool access_to_upgrade
 Has user access to .upgrade command?
vector< string > access_usage_procedure
 This user can assign events of user to these procedures.
vector< s_dcc_hostdcc_hosts
 Hosts for DCC connection for this user.
vector< string > fullname
 Full name masks.
vector< s_groupgroups
 List of groups that this user is member of.
bool host_bot
 Is this user a bot?
bool host_unknown
 Is this user "an unknown user"? (if true, this structure contains definition for user that is NOT rekognized - something like "guest" on channel).
vector< string > hostmask
 Host hasks ("nick!ident@host").
bool is_template
 Is this user a template?
time_t last_changed
 Time of last change.
map< string, string > meta
string name
 Name of user.
s_flood partyline_msg_flood
 Message flood limit on partyline channels.
vector< s_replicationreplication
 Informations of replication.
bool replication_partner
 Is this user a replication partner? (==bot?).
bool terminator
 Is this user terminated?


Constructor & Destructor Documentation

s_user::s_user  )  [inline]
 

Definition at line 248 of file shared.h.

References clear().

00249     {
00250         clear();
00251     }

Here is the call graph for this function:


Member Function Documentation

void s_user::clear  )  [inline]
 

Definition at line 202 of file shared.h.

References access_grant_backup, access_grant_can_send_all_users, access_grant_can_send_unknown_users, access_grant_channel, access_grant_die, access_grant_group, access_grant_partyline, access_grant_plusproc, access_grant_plususer, access_grant_private, access_grant_procedure, access_grant_rehash, access_grant_replication, access_grant_restart, access_grant_upgrade, access_to_backup, access_to_can_send_all_users, access_to_can_send_unknown_users, access_to_channel, access_to_die, access_to_group, access_to_partyline, access_to_plusproc, access_to_plususer, access_to_private, access_to_proc, access_to_rehash, access_to_replication, access_to_restart, access_to_upgrade, access_usage_procedure, dcc_hosts, fullname, groups, host_unknown, hostmask, is_template, last_changed, meta, name, replication, replication_partner, and terminator.

Referenced by logic_partyline_get_user(), and s_user().

00203     {
00204         name="";
00205         host_unknown=false;
00206         is_template=false;
00207         hostmask.clear();
00208         fullname.clear();
00209         meta.clear();
00210         access_to_can_send_all_users=false;
00211         access_grant_can_send_all_users=false;
00212         access_to_group.clear();
00213         access_to_proc.clear();
00214         access_usage_procedure.clear();
00215         access_grant_procedure.clear();
00216         access_grant_group.clear();
00217         access_to_channel.clear();
00218         access_grant_channel.clear();
00219         access_grant_partyline=false;
00220         access_to_backup=false;
00221         access_grant_backup=false;
00222         access_to_rehash=false;
00223         access_grant_rehash=false;
00224         access_to_plususer=false;
00225         access_grant_plususer=false;
00226         access_to_plusproc=false;
00227         access_grant_plusproc=false;
00228         access_to_replication=false;
00229         access_grant_replication=false;
00230         access_to_restart=false;
00231         access_grant_restart=false;
00232         access_to_die=false;
00233         access_grant_die=false;
00234         access_to_partyline=false;
00235         groups.clear();
00236         dcc_hosts.clear();
00237         replication.clear();
00238         last_changed=0;
00239         replication_partner=false;
00240         access_to_private=false;
00241         access_grant_private=false;
00242         terminator=false;
00243         access_to_can_send_unknown_users=false;
00244         access_grant_can_send_unknown_users=false;
00245         access_to_upgrade=access_grant_upgrade=false;
00246     }


Member Data Documentation

bool s_user::access_grant_apply
 

Can this user grant accesst to .apply command to other user?

Definition at line 192 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_backup
 

Can this user grant/deny access to .backup command to other user?

Definition at line 155 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_can_send_all_users
 

Can this user grant right to send message / file to all users?

Definition at line 162 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_can_send_unknown_users
 

Can this grant right to other user to send message / file to unknown users on all bot's channels?

Definition at line 179 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

vector<string> s_user::access_grant_channel
 

This user can add or exclude users to/from these channels.

Definition at line 152 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_die
 

Can this user grant accesst to .die command to other user?

Definition at line 173 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_filesystem
 

Can this user grant accesst to .filesystem command to other user?

Definition at line 176 of file shared.h.

Referenced by botnet_loop(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

vector<string> s_user::access_grant_group
 

This user can add or exclude users to/from these groups.

Definition at line 150 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_partyline
 

Can this user grant/deny access to partyline to other user?

Definition at line 153 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_plusproc
 

Can this user (or bot) grant creation of new procedure to other user?

Definition at line 165 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_plususer
 

Can this user (or bot) grant creation of new user to other user?

Definition at line 159 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_private
 

Can this user grant accesst to private definition to other user?

Definition at line 186 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

vector<string> s_user::access_grant_procedure
 

This user can grant access to this procedure to other user.

Definition at line 148 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_rehash
 

Can this user grant/deny access to .rehash command to other user?

Definition at line 157 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_replication
 

Can this user (or bot) grant to other user right to change replication parameters?

Definition at line 168 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_restart
 

Can this user grant accesst to .restart command to other user?

Definition at line 171 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_grant_upgrade
 

Can this user grant accesst to .upgrade command to other user?

Definition at line 189 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_apply
 

Has user access to .apply command?

Definition at line 191 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_backup
 

Can this user use .backup command?

Definition at line 154 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_can_send_all_users
 

Can this user send message / file to all users?

Definition at line 161 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_can_send_unknown_users
 

Can this user send message / file to unknown users on all bot's channels?

Definition at line 178 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

vector<string> s_user::access_to_channel
 

This user can modify properties of these channels.

Definition at line 151 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_die
 

Has user access to .die command?

Definition at line 172 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_filesystem
 

Has user access to .filesystem command?

Definition at line 175 of file shared.h.

Referenced by botnet_loop(), dcc_loop_edit_user1(), dcc_loop_new_user(), irc_quoted_callback(), and logic_process_line().

vector<string> s_user::access_to_group
 

This user can modify properties of users of these groups.

Definition at line 146 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_partyline
 

Has this user access to partyline?

Definition at line 181 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), irc_quoted_callback(), and logic_process_line().

bool s_user::access_to_plusproc
 

Can this user (or bot) create new procedure?

Definition at line 164 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_plususer
 

Can this user (or bot) create new user?

Definition at line 158 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_private
 

Has this user access to modufy private query definition?

Definition at line 185 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

vector<string> s_user::access_to_proc
 

This user can modify procedure commands.

Definition at line 147 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_rehash
 

Can this user use .rehash command?

Definition at line 156 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_replication
 

Can this user change replication parameters?

Definition at line 167 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_restart
 

Has user access to .restart command?

Definition at line 170 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::access_to_upgrade
 

Has user access to .upgrade command?

Definition at line 188 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

vector<string> s_user::access_usage_procedure
 

This user can assign events of user to these procedures.

Definition at line 149 of file shared.h.

Referenced by botnet_has_grant(), botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

vector<s_dcc_host> s_user::dcc_hosts
 

Hosts for DCC connection for this user.

Definition at line 183 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

vector<string> s_user::fullname
 

Full name masks.

Definition at line 145 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), logic_partyline_add_user(), and logic_process_line().

vector<s_group> s_user::groups
 

List of groups that this user is member of.

Definition at line 182 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), logic_process_line(), and logic_validate_chan_mode().

bool s_user::host_bot
 

Is this user a bot?

Definition at line 141 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

bool s_user::host_unknown
 

Is this user "an unknown user"? (if true, this structure contains definition for user that is NOT rekognized - something like "guest" on channel).

Definition at line 140 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_filesystem(), dcc_loop_msg(), dcc_loop_new_user(), filesys_dcc_check_for_notifies(), filesys_dcc_drop_notifies(), and logic_process_line().

vector<string> s_user::hostmask
 

Host hasks ("nick!ident@host").

Definition at line 144 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), irc_check_for_not_invited(), irc_check_for_not_reopped(), logic_partyline_add_user(), and logic_process_line().

bool s_user::is_template
 

Is this user a template?

Definition at line 142 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), dcc_loop_replication(), logic_partyline_add_user(), logic_partyline_get_user_template(), and logic_process_line().

time_t s_user::last_changed
 

Time of last change.

Definition at line 195 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), dcc_loop_terminator(), logic_partyline_add_user(), and logic_process_line().

map<string,string> s_user::meta
 

Definition at line 200 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), logic_exec_script(), and logic_process_line().

string s_user::name
 

Name of user.

Definition at line 139 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), clear(), dcc_loop_edit_user1(), dcc_loop_new_user(), dcc_loop_replication(), irc_check_for_not_invited(), irc_check_for_not_reopped(), logic_partyline_add_user(), and logic_process_line().

s_flood s_user::partyline_msg_flood
 

Message flood limit on partyline channels.

Definition at line 198 of file shared.h.

Referenced by botnet_loop(), botnet_push_user(), dcc_loop_edit_user1(), dcc_loop_new_user(), and logic_process_line().

vector<s_replication> s_user::replication
 

Informations of replication.

Definition at line 194 of file shared.h.

Referenced by botnet_loop(), clear(), and logic_process_line().

bool s_user::replication_partner
 

Is this user a replication partner? (==bot?).

Definition at line 196 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_replication(), and logic_process_line().

bool s_user::terminator
 

Is this user terminated?

Definition at line 143 of file shared.h.

Referenced by botnet_loop(), clear(), dcc_loop_terminator(), logic_partyline_add_user(), and logic_process_line().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 10 05:45:50 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo