Go to the source code of this file.
Functions | |
parse_list * | get_list (int sockfd, struct sock_hostport info) |
parse_list * | list_parse (char *output) |
struct parse_list* get_list | ( | int | sockfd, | |
struct sock_hostport | info | |||
) |
Gets the directory listing of the current directory and returns it.
sockfd | FTP socket descriptor. | |
info | Host and port information. |
struct parse_list* list_parse | ( | char * | output | ) |
Breaks the output of LIST into (hopefully) distinct entries and returns an amalgamated list of all the entires.
output | What LIST has given us. |