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.
This commit is contained in:
Ralf Corsepius
2005-02-04 12:47:44 +00:00
parent f26145b800
commit 4bf6a9f22a
8 changed files with 10 additions and 2159 deletions

View File

@@ -1,3 +1,12 @@
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.
2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/rtems_servers/ftpd.h: Warning fixes.

View File

@@ -250,7 +250,6 @@ support/Makefile
libnetworking/Makefile
libnetworking/pppd/Makefile
libnetworking/rtems_servers/Makefile
libnetworking/rtems_telnetd/Makefile
librdbg/Makefile

View File

@@ -2,7 +2,7 @@
## $Id$
##
SUBDIRS = rtems_servers pppd rtems_telnetd
SUBDIRS = pppd rtems_telnetd
include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/local.am

View File

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -1,36 +0,0 @@
##
## $Id$
##
include $(top_srcdir)/automake/compile.am
noinst_LIBRARIES =
if HAS_NETWORKING
include_HEADERS = ftpd.h
noinst_LIBRARIES += libftpd.a
libftpd_a_SOURCES = ftpd.c ftpd.h
libftpd_a_CPPFLAGS = $(AM_CPPFLAGS)
endif
all-local: $(PREINSTALL_FILES)
PREINSTALL_DIRS =
PREINSTALL_FILES =
$(PROJECT_INCLUDE)/$(dirstamp):
@$(mkdir_p) $(PROJECT_INCLUDE)
@: > $(PROJECT_INCLUDE)/$(dirstamp)
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
if HAS_NETWORKING
$(PROJECT_INCLUDE)/ftpd.h: ftpd.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ftpd.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/ftpd.h
endif
CLEANFILES = $(PREINSTALL_FILES)
DISTCLEANFILES = $(PREINSTALL_DIRS)
include $(top_srcdir)/automake/local.am

File diff suppressed because it is too large Load Diff

View File

@@ -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__ */

View File

@@ -23,7 +23,6 @@ endif
if HAS_NETWORKING
SRCS += ../libnetworking/pppd/libpppd.a
SRCS += ../libnetworking/rtems_servers/libftpd.a
SRCS += ../libnetworking/rtems_telnetd/libtelnetd.a
endif