diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-06-27 21:59:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-06-27 21:59:23 +0000 |
commit | dda0bffc4112a544ede2dca0e9e409171b0c3dc2 (patch) | |
tree | cb2910469708376fb8e4223f238f1404bfec3194 /c/src/exec/libnetworking/rtems | |
parent | 2002-06-27 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-dda0bffc4112a544ede2dca0e9e409171b0c3dc2.tar.bz2 |
2002-06-27 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
* Addition of a ftp client filesystem, comparable to the tftp one.
* lib/ftpfs.c, rtems/ftpfs.h: New files.
* lib/Makefile.am, rtems/Makefile.am: Modified to reflect above.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/libnetworking/rtems/Makefile.am | 2 | ||||
-rw-r--r-- | c/src/exec/libnetworking/rtems/ftpfs.h | 34 |
2 files changed, 35 insertions, 1 deletions
diff --git a/c/src/exec/libnetworking/rtems/Makefile.am b/c/src/exec/libnetworking/rtems/Makefile.am index f0d70abd6b..bce1f51071 100644 --- a/c/src/exec/libnetworking/rtems/Makefile.am +++ b/c/src/exec/libnetworking/rtems/Makefile.am @@ -16,7 +16,7 @@ C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) OBJS = $(C_O_FILES) include_rtems_HEADERS = rtems_bsdnet.h rtems_bsdnet_internal.h tftp.h \ - mkrootfs.h + ftpfs.h mkrootfs.h PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \ $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) diff --git a/c/src/exec/libnetworking/rtems/ftpfs.h b/c/src/exec/libnetworking/rtems/ftpfs.h new file mode 100644 index 0000000000..bcd18a4266 --- /dev/null +++ b/c/src/exec/libnetworking/rtems/ftpfs.h @@ -0,0 +1,34 @@ +/* + * File Transfer Protocol client declarations + * + * Transfer file to/from remote host + * + * + * (c) Copyright 2002 + * Thomas Doerfler + * IMD Ingenieurbuero fuer Microcomputertechnik + * Herbststr. 8 + * 82178 Puchheim, Germany + * <Thomas.Doerfler@imd-systems.de> + * + * This code has been created after closly inspecting + * "tftpdriver.c" from Eric Norum. + * + * $Id$ + */ + +#ifndef _FTP_DRIVER_H +#define _FTP_DRIVER_H + +#ifdef __cplusplus +extern "C" { +#endif + + /* create mount point and mount ftp file system */ + int rtems_bsdnet_initialize_ftp_filesystem () ; + +#ifdef __cplusplus +} +#endif + +#endif |