main.h File Reference

Go to the source code of this file.

Functions

parse_listget_list (int sockfd, struct sock_hostport info)
parse_listlist_parse (char *output)


Detailed Description

The main function.

Function Documentation

struct parse_list* get_list ( int  sockfd,
struct sock_hostport  info 
)

Gets the directory listing of the current directory and returns it.

Parameters:
sockfd FTP socket descriptor.
info Host and port information.
Returns:
A parse_list with all the directory entries.

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.

Parameters:
output What LIST has given us.
Returns:
A parse_list with all the files from the directory.


Generated by  doxygen 1.4.7.
SourceForge.net Logo