#include <sys/types.h>#include <sys/ioctl.h>#include <sys/wait.h>#include <stdio.h>#include <unistd.h>#include <string.h>#include <stdlib.h>#include <fcntl.h>#include <signal.h>#include <errno.h>#include <net/netlib.h>#include <net/hton.h>#include <net/gen/netdb.h>#include <net/gen/in.h>#include <net/gen/inet.h>#include <net/gen/tcp.h>#include <net/gen/tcp_io.h>#include "ftp.h"#include "file.h"#include "net.h"Go to the source code of this file.
Defines | |
| #define | hiword(x) ((u16_t)((x) >> 16)) |
| #define | loword(x) ((u16_t)(x & 0xffff)) |
| #define | hibyte(x) (((x) >> 8) & 0xff) |
| #define | lobyte(x) ((x) & 0xff) |
Functions | |
| _PROTOTYPE (void donothing,(int sig)) | |
| void | NETinit () |
| int | DOopen () |
| int | DOclose () |
| int | DOquit () |
| void | donothing (int sig) |
| int | DOdata (char *datacom, char *file, int direction, int fd) |
| _PROTOTYPE | ( | void | donothing, | |
| (int sig) | ||||
| ) |
| int DOdata | ( | char * | datacom, | |
| char * | file, | |||
| int | direction, | |||
| int | fd | |||
| ) |
1.5.8