source: rtems/cpukit/libmisc/shell/main_mount_ftp.c @ e4a3d93

4.104.115
Last change on this file since e4a3d93 was 8916bdc7, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 03/26/09 at 14:11:53
  • libmisc/shell/shell.h: Pointer to oparations table for mount command is now const.
  • libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h: Rewrite of the FTP file system which implements now the trivial command state machines of RFC 959. For the data transfer passive (= default) and active (= fallback) modes are now supported.
  • libmisc/shell/main_mount_ftp.c: Update for FTP file system changes.
  • Property mode set to 100644
File size: 765 bytes
Line 
1/*
2 *   Shell Command Implmentation
3 *
4 *  Author: Fernando RUIZ CASAS
5 *  Work: fernando.ruiz@ctv.es
6 *  Home: correo@fernando-ruiz.com
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#ifdef HAVE_CONFIG_H
16#include "config.h"
17#endif
18
19#include <stdio.h>
20#include <unistd.h>
21#include <string.h>
22#include <errno.h>
23
24#include <rtems.h>
25#include <rtems/shell.h>
26#include <rtems/dosfs.h>
27#include <rtems/fsmount.h>
28#include "internal.h"
29
30#include <rtems/ftpfs.h>
31
32rtems_shell_filesystems_t rtems_shell_Mount_FTP = {
33  name:          "ftp",
34  driver_needed: 1,
35  fs_ops:        &rtems_ftpfs_ops,
36  mounter:       rtems_shell_libc_mounter
37};
Note: See TracBrowser for help on using the repository browser.