|
static void | fsp_stat_continue (void *data) |
|
static int | buildfilename (const FSP_SESSION *s, FSP_PKT *out, const char *dirname) |
|
static size_t | fsp_pkt_write (const FSP_PKT *p, void *space) |
|
static int | fsp_pkt_read (FSP_PKT *p, const void *space, size_t recv_len) |
|
static void | fsp_transaction_send_loop (void *data) |
|
static void | try_fsp_transaction (void *data) |
|
static void | fsp_transaction_continue (void *data) |
|
static FSP_SESSION * | fsp_open_session (const char *host, unsigned short port, const char *password) |
|
static void | bye_bye (void *data) |
|
static void | try_fsp_close_session (struct connection *conn) |
|
static int | fsp_readdir_native (FSP_DIR *dir, FSP_RDENTRY *entry, FSP_RDENTRY **result) |
|
static int | fsp_closedir (FSP_DIR *dirp) |
|
static FSP_FILE * | fsp_fopen (struct connection *conn, const char *path, const char *modeflags) |
|
static int | fsp_fclose (FSP_FILE *file) |
|
static void | try_fsp_stat (struct connection *conn, const char *path) |
|
static void | try_fsp_read_file (void *data) |
|
static void | try_fsp_opendir (void *data) |
|
static void | display_entry (struct connection *conn, const FSP_RDENTRY *fentry, const char dircolor[]) |
|
static int | compare (const void *av, const void *bv) |
|
static void | sort_and_display_entries (struct connection *conn, FSP_DIR *dir, const char dircolor[]) |
|
static void | show_fsp_directory (struct connection *conn) |
|
static void | done_fsp_connection (struct connection *conn) |
|
static void | do_fsp (struct connection *conn) |
|
void | fsp_protocol_handler (struct connection *conn) |
|