12 struct vsf_sysutil_sockaddr
;
15 /* This struct contains variables specific to the state of the current FTP
20 /* Details of the control connection */
21 struct vsf_sysutil_sockaddr
* p_local_addr
;
22 struct vsf_sysutil_sockaddr
* p_remote_addr
;
23 char* p_control_line_buf
;
25 /* Details of the data connection */
27 struct vsf_sysutil_sockaddr
* p_port_sockaddr
;
30 unsigned int bw_rate_max
;
31 long bw_send_start_sec
;
32 long bw_send_start_usec
;
34 /* Details of the login */
37 struct mystr user_str
;
38 struct mystr anon_pass_str
;
40 /* Details of the FTP protocol state */
41 filesize_t restart_pos
;
43 struct mystr rnfr_filename_str
;
49 struct mystr http_get_arg
;
51 /* Details of FTP session state */
52 struct mystr_list
* p_visited_dir_list
;
54 /* Details of userids which are interesting to us */
57 int anon_upload_chown_uid
;
59 /* Things we need to cache before we chroot() */
60 struct mystr banned_email_str
;
61 struct mystr email_passwords_str
;
62 struct mystr userlist_str
;
63 struct mystr banner_str
;
66 /* Logging related details */
69 struct mystr remote_ip_str
;
70 unsigned long log_type
;
74 filesize_t transfer_size
;
77 struct mystr ftp_cmd_str
;
78 struct mystr ftp_arg_str
;
80 /* Parent<->child comms channel */
85 unsigned int num_clients
;
86 unsigned int num_this_ip
;
87 struct mystr home_str
;
89 /* Secure connections state */
95 struct mystr control_cert_digest
;
99 unsigned int login_fails
;
102 #endif /* VSF_SESSION_H */