212 |
int type; /* DCC type (send or receive) */ |
int type; /* DCC type (send or receive) */ |
213 |
int status; /* DCC status (waiting, sending, ..) */ |
int status; /* DCC status (waiting, sending, ..) */ |
214 |
time_t start_time; /* the time when DCC started */ |
time_t start_time; /* the time when DCC started */ |
215 |
|
time_t start_transfer; /* the time when DCC transfer started */ |
216 |
unsigned long addr; /* IP address */ |
unsigned long addr; /* IP address */ |
217 |
int port; /* port */ |
int port; /* port */ |
218 |
char *nick; /* remote nick */ |
char *nick; /* remote nick */ |
225 |
unsigned long size; /* file size */ |
unsigned long size; /* file size */ |
226 |
unsigned long pos; /* number of bytes received/sent */ |
unsigned long pos; /* number of bytes received/sent */ |
227 |
unsigned long ack; /* number of bytes received OK */ |
unsigned long ack; /* number of bytes received OK */ |
228 |
|
time_t last_check_time; /* last time we looked at bytes sent/rcv*/ |
229 |
|
unsigned long last_check_pos; /* bytes sent/recv at last check */ |
230 |
|
unsigned long bytes_per_sec; /* bytes per second */ |
231 |
t_irc_dcc *prev_dcc; /* link to previous dcc file/chat */ |
t_irc_dcc *prev_dcc; /* link to previous dcc file/chat */ |
232 |
t_irc_dcc *next_dcc; /* link to next dcc file/chat */ |
t_irc_dcc *next_dcc; /* link to next dcc file/chat */ |
233 |
}; |
}; |