diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-04 18:40:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-04 18:40:53 +0000 |
commit | cc63e08130fac85712365e1d9fc6be82a6f288dc (patch) | |
tree | fe6ab899f3e2ac388574d2719a0863500549b218 /c/src/lib/libnetworking/rtems_servers/ftpd.h | |
parent | Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: (diff) | |
download | rtems-cc63e08130fac85712365e1d9fc6be82a6f288dc.tar.bz2 |
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make libnetworking
a top level more independently configured package.
Diffstat (limited to 'c/src/lib/libnetworking/rtems_servers/ftpd.h')
-rw-r--r-- | c/src/lib/libnetworking/rtems_servers/ftpd.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/c/src/lib/libnetworking/rtems_servers/ftpd.h b/c/src/lib/libnetworking/rtems_servers/ftpd.h deleted file mode 100644 index 6daaaf4d51..0000000000 --- a/c/src/lib/libnetworking/rtems_servers/ftpd.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * FTP Server Information - * - * $Id$ - */ - -#ifndef __FTPD_H__ -#define __FTPD_H__ - - -#define FTPD_CONTROL_PORT 21 - -typedef int (*rtems_ftpd_hookfunction)(unsigned char *, unsigned long); - -struct rtems_ftpd_hook -{ - char *filename; - rtems_ftpd_hookfunction hook_function; -}; - -struct rtems_ftpd_configuration -{ - rtems_task_priority priority; /* FTPD task priority */ - unsigned long max_hook_filesize; /* Maximum buffersize */ - /* for hooks */ - int port; /* Well-known port */ - struct rtems_ftpd_hook *hooks; /* List of hooks */ -}; - -/* - * Reply codes. - */ -#define PRELIM 1 /* positive preliminary */ -#define COMPLETE 2 /* positive completion */ -#define CONTINUE 3 /* positive intermediate */ -#define TRANSIENT 4 /* transient negative completion */ -#define ERROR 5 /* permanent negative completion */ - -int rtems_initialize_ftpd(); - -#endif /* __FTPD_H__ */ - |