summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/rtems_servers/ftpd.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-02-04 12:47:44 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-02-04 12:47:44 +0000
commit4bf6a9f22a4651101c69981f7337e74e2cd5f6d3 (patch)
tree11c03e26aa399041ad36804cbd30779992926d15 /c/src/libnetworking/rtems_servers/ftpd.h
parent2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-4bf6a9f22a4651101c69981f7337e74e2cd5f6d3.tar.bz2
2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/rtems_servers/ftp.c, libnetworking/rtems_servers/ftp.h, libnetworking/rtems_servers/Makefile.am: Remove (relocated to cpukit/ftpd). * configure.ac, Makefile.am, wrapup/Makefile.am: Reflect having removed move libnetworking/rtems_servers.
Diffstat (limited to '')
-rw-r--r--c/src/libnetworking/rtems_servers/ftpd.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/c/src/libnetworking/rtems_servers/ftpd.h b/c/src/libnetworking/rtems_servers/ftpd.h
deleted file mode 100644
index e429e9baf4..0000000000
--- a/c/src/libnetworking/rtems_servers/ftpd.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * FTP Server Information
- *
- * $Id$
- */
-
-#ifndef __FTPD_H__
-#define __FTPD_H__
-
-
-#define FTPD_CONTROL_PORT 21
-
-/* FTPD access control flags */
-enum
-{
- FTPD_NO_WRITE = 0x1,
- FTPD_NO_READ = 0x2,
- FTPD_NO_RW = FTPD_NO_WRITE | FTPD_NO_READ
-};
-
-typedef int (*rtems_ftpd_hookfunction)(char *, size_t);
-
-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 */
- char const *root; /* Root for FTPD or 0 for / */
- int tasks_count; /* Max. connections */
- int idle; /* Idle timeout in seoconds
- or 0 for no (inf) timeout */
- int access; /* 0 - r/w, 1 - read-only,
- 2 - write-only,
- 3 - browse-only */
-};
-
-/*
- * 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__ */