|
static void | ftp_login (struct socket *) |
|
static void | ftp_send_retr_req (struct connection *, struct connection_state) |
|
static void | ftp_got_info (struct socket *, struct read_buffer *) |
|
static void | ftp_got_user_info (struct socket *, struct read_buffer *) |
|
static void | ftp_pass (struct connection *) |
|
static void | ftp_pass_info (struct socket *, struct read_buffer *) |
|
static void | ftp_retr_file (struct socket *, struct read_buffer *) |
|
static void | ftp_got_final_response (struct socket *, struct read_buffer *) |
|
static void | got_something_from_data_connection (struct connection *) |
|
static void | ftp_end_request (struct connection *, struct connection_state) |
|
static struct ftp_connection_info * | add_file_cmd_to_str (struct connection *) |
|
static void | ftp_data_accept (struct connection *conn) |
|
static int | parse_psv_resp (char *data, int *n, int max_value) |
|
static int | get_ftp_response (struct connection *conn, struct read_buffer *rb, int part, struct sockaddr_storage *sa, off_t *est_length) |
|
void | ftp_protocol_handler (struct connection *conn) |
|
static void | send_cmd (struct connection *conn, struct string *cmd, void *callback, struct connection_state state) |
|
static int | auth_user_matching_uri (struct auth_entry *auth, struct uri *uri) |
|
static void | prompt_username_pw (struct connection *conn) |
|
static void | add_portcmd_to_string (struct string *string, char *pc) |
|
static int | get_ftp_data_socket (struct connection *conn, struct string *command) |
|
static int | is_ftp_pathname_safe (const struct string *s) |
|
static void | send_it_line_by_line (struct connection *conn, struct string *cmd) |
|
static off_t | get_filesize_from_RETR (char *data, int data_len, int *resume) |
|
static int | ftp_data_connect (struct connection *conn, int pf, struct sockaddr_storage *sa, int size_of_sockaddr) |
|
static int | display_dir_entry (struct cache_entry *cached, off_t *pos, int *tries, const struct ftp_dir_html_format *format, struct ftp_file_info *ftp_info) |
|
static int | ftp_get_line (struct cache_entry *cached, char *buf, int bufl, int last, int *len) |
|