s_access Struct Reference

#include <filesys.h>

Collaboration diagram for s_access:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores informnations about access to the object in the filesystem.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 94 of file filesys.h.

Public Member Functions

void clear ()
 Clears the structure.
 s_access ()

Public Attributes

string all_on_channel
 The message / file is for all users on this channel.
bool all_users
 All users has access to this object.
bool also_unknown
 The message / file is for all users on this channel (all_on_channel) and also for unknown users.
bool del
 The user has DELETE permission.
bool notify_owner
 OWNER wants to be notified when user reads this object.
string notify_owner_message
 If this object is a file, there is stored message for OWNER when user reads the file.
bool notify_user
 User should be notified about this object.
string notify_user_message
 If this object is a file, there is stored message for USER (a description why they should read this file).
bool owner
 The user is OWNER.
bool read
 The user has READ permission.
bool secure
 SECURE flag: user must be authenticated in order to read this object.
string user_name
 Name of user that this access structure belongs to (undefined if all_users set to true).


Constructor & Destructor Documentation

s_access::s_access  )  [inline]
 

Definition at line 131 of file filesys.h.

References clear().

00132     {
00133         clear();
00134     }

Here is the call graph for this function:


Member Function Documentation

void s_access::clear  )  [inline]
 

Clears the structure.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 115 of file filesys.h.

References all_on_channel, all_users, also_unknown, del, notify_owner, notify_owner_message, notify_user, notify_user_message, owner, read, secure, and user_name.

Referenced by filesys_init(), logic_process_script_output(), s_access(), and s_dcc_client::s_fs::s_fs().

00116     {
00117         all_users=false;
00118         user_name="";
00119         owner=false;
00120         read=false;
00121         del=false;
00122         notify_owner=false;
00123         notify_user=false;
00124         secure=false;
00125         notify_owner_message="";
00126         notify_user_message="";
00127         all_on_channel="";
00128         also_unknown=false;
00129     }


Member Data Documentation

string s_access::all_on_channel
 

The message / file is for all users on this channel.

Definition at line 103 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), filesys_init(), and logic_process_script_output().

bool s_access::all_users
 

All users has access to this object.

Definition at line 95 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), dcc_loop_msg(), filesys_add_file_raw(), filesys_init(), and logic_process_script_output().

bool s_access::also_unknown
 

The message / file is for all users on this channel (all_on_channel) and also for unknown users.

Definition at line 104 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), filesys_init(), and logic_process_script_output().

bool s_access::del
 

The user has DELETE permission.

Definition at line 99 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), dcc_loop_msg(), filesys_add_file_raw(), filesys_init(), and logic_process_script_output().

bool s_access::notify_owner
 

OWNER wants to be notified when user reads this object.

Definition at line 100 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), filesys_init(), and logic_process_script_output().

string s_access::notify_owner_message
 

If this object is a file, there is stored message for OWNER when user reads the file.

Definition at line 106 of file filesys.h.

Referenced by clear(), filesys_init(), and logic_process_script_output().

bool s_access::notify_user
 

User should be notified about this object.

Definition at line 101 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), filesys_init(), and logic_process_script_output().

string s_access::notify_user_message
 

If this object is a file, there is stored message for USER (a description why they should read this file).

Definition at line 107 of file filesys.h.

Referenced by clear(), filesys_build_getfile_message(), filesys_init(), and logic_process_script_output().

bool s_access::owner
 

The user is OWNER.

Definition at line 97 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), dcc_loop_msg(), filesys_add_file_raw(), filesys_init(), and logic_process_script_output().

bool s_access::read
 

The user has READ permission.

Definition at line 98 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), dcc_loop_msg(), filesys_add_file_raw(), filesys_init(), and logic_process_script_output().

bool s_access::secure
 

SECURE flag: user must be authenticated in order to read this object.

Definition at line 102 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), dcc_loop_msg(), filesys_init(), and logic_process_script_output().

string s_access::user_name
 

Name of user that this access structure belongs to (undefined if all_users set to true).

Definition at line 96 of file filesys.h.

Referenced by clear(), dcc_loop_filesystem_disp_rights(), dcc_loop_msg(), filesys_add_file_raw(), filesys_init(), and logic_process_script_output().


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

Hosted by SourceForge.net Logo