s_dcc_send_file Struct Reference

Collaboration diagram for s_dcc_send_file:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores informations about DCC SEND-ing file.

Author:
VooDooMan
Version:
2
Date:
2004

Definition at line 185 of file dcc.cpp.

Public Member Functions

 s_dcc_send_file ()

Public Attributes

string file_name
 Internal name of file.
string public_name
 Public name of the file.
in_addr remote_ip
 IPv4 address of remote host.
in_addr6_ remote_ip6
 IPv6 address of remote host.
size_t resume_pos
size_t size
 Size of the file.
time_t start_time
 Timestamp of establishing connection.
string user_name_as_in_logic
 Name of the user form "logic.txt".
bool using_ipv6
 Is this connection an IPv6 connection?


Constructor & Destructor Documentation

s_dcc_send_file::s_dcc_send_file  )  [inline]
 

Definition at line 196 of file dcc.cpp.

References file_name, public_name, remote_ip, remote_ip6, resume_pos, size, start_time, user_name_as_in_logic, and using_ipv6.

00197     {
00198         using_ipv6=false;
00199 #ifdef _WIN32
00200         remote_ip.S_un.S_addr=0;
00201 #else
00202         remote_ip.s_addr=0;
00203 #endif
00204 
00205         memset(&remote_ip6,0,sizeof(remote_ip6));
00206         file_name="";
00207         start_time=0;
00208         size=0;
00209         user_name_as_in_logic="";
00210         public_name="";
00211         resume_pos=0;
00212     }


Member Data Documentation

string s_dcc_send_file::file_name
 

Internal name of file.

Definition at line 189 of file dcc.cpp.

Referenced by dcc_send_file(), and s_dcc_send_file().

string s_dcc_send_file::public_name
 

Public name of the file.

Definition at line 193 of file dcc.cpp.

Referenced by dcc_send_file(), and s_dcc_send_file().

in_addr s_dcc_send_file::remote_ip
 

IPv4 address of remote host.

Definition at line 187 of file dcc.cpp.

Referenced by dcc_send_file(), and s_dcc_send_file().

in_addr6_ s_dcc_send_file::remote_ip6
 

IPv6 address of remote host.

Definition at line 188 of file dcc.cpp.

Referenced by dcc_send_file(), and s_dcc_send_file().

size_t s_dcc_send_file::resume_pos
 

Definition at line 194 of file dcc.cpp.

Referenced by dcc_send_file(), and s_dcc_send_file().

size_t s_dcc_send_file::size
 

Size of the file.

Definition at line 191 of file dcc.cpp.

Referenced by dcc_send_file(), and s_dcc_send_file().

time_t s_dcc_send_file::start_time
 

Timestamp of establishing connection.

Definition at line 190 of file dcc.cpp.

Referenced by dcc_send_file(), and s_dcc_send_file().

string s_dcc_send_file::user_name_as_in_logic
 

Name of the user form "logic.txt".

Definition at line 192 of file dcc.cpp.

Referenced by dcc_send_file(), and s_dcc_send_file().

bool s_dcc_send_file::using_ipv6
 

Is this connection an IPv6 connection?

Definition at line 186 of file dcc.cpp.

Referenced by dcc_send_file(), and s_dcc_send_file().


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

Hosted by SourceForge.net Logo