#include <netdb.h>
#include <sys/select.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <getopt.h>
#include <strings.h>
#include <pwd.h>
#include <signal.h>
#include <dirent.h>
#include "vfer_tests.h"
#include "vfer_api.h"
Go to the source code of this file.
Data Structures | |
struct | client_msg |
structure used as a client message from the client rcp program More... | |
struct | server_msg |
structure used as a server message reply from the server rcpd program to the client msg More... | |
Defines | |
#define | DEFAULT_PORT 2046 |
#define | MAX_HOST 64 |
#define | MAX_PATH 128 |
#define | MAX_USER 16 |
Typedefs | |
typedef client_msg | client_msg_t |
structure used as a client message from the client rcp program | |
typedef server_msg | server_msg_t |
structure used as a server message reply from the server rcpd program to the client msg | |
Enumerations | |
enum | status_t { RCP_READY = 0, RCP_ENOENT, RCP_EOPEN, RCP_ENOFILE, RCP_EUSER, RCP_EOTHER } |
Functions | |
void | vfer_rcp_print_stats (vfer_stats *stats) |
Definition in file vfer_rcp.h.
#define DEFAULT_PORT 2046 |
Definition at line 44 of file vfer_rcp.h.
#define MAX_HOST 64 |
Definition at line 43 of file vfer_rcp.h.
#define MAX_PATH 128 |
Definition at line 41 of file vfer_rcp.h.
#define MAX_USER 16 |
Definition at line 42 of file vfer_rcp.h.
typedef struct client_msg client_msg_t |
structure used as a client message from the client rcp program
typedef struct server_msg server_msg_t |
structure used as a server message reply from the server rcpd program to the client msg
enum status_t |
Definition at line 57 of file vfer_rcp.h.
void vfer_rcp_print_stats | ( | vfer_stats * | stats | ) | [inline] |
This function prints the final transfer statistics after file transfer
stats | vfer stats structure pointer |
Definition at line 78 of file vfer_rcp.h.