Ignore:
Timestamp:
Jul 1, 2010, 2:39:39 PM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10
Children:
e8cec9e
Parents:
615d8cc
Message:

2010-06-10 Sebastian Huber <sebastian.huber@…>

  • libcsupport/src/unmount.c: Removed obsolete declarations. Fixed invalid memory free.

2010-06-10 Sebastian Huber <sebastian.huber@…>

  • libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Removed rtems_ftpfs_mount().

2010-06-10 Sebastian Huber <sebastian.huber@…>

  • libcsupport/src/mount-mktgt.c: New file.
  • libcsupport/Makefile.am: Reflect change above.
  • libcsupport/include/rtems/libio.h: Declare mount_and_make_target_path().

2010-06-09 Sebastian Huber <sebastian.huber@…>

  • libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Added rtems_ftpfs_mount() again. Documentation.

2010-06-09 Sebastian Huber <sebastian.huber@…>

  • libcsupport/include/rtems/libio.h, sapi/include/confdefs.h: Added and use defines for file system types.

2010-06-09 Sebastian Huber <sebastian.huber@…>

  • libcsupport/src/mount.c: Fixed NULL pointer access.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/rtems/ftpfs.h

    r615d8cc r3d3a18e6  
    22 * @file
    33 *
    4  * File Transfer Protocol file system (FTP client).
     4 * @brief File Transfer Protocol file system (FTP client).
    55 */
    66
     
    4747 * @defgroup rtems_ftpfs File Transfer Protocol File System
    4848 *
    49  * The FTP file system (FTP client) can be used to transfer files from or to
    50  * remote hosts.
     49 * @brief The FTP file system (FTP client) can be used to transfer files from
     50 * or to remote hosts.
    5151 *
    52  * You can mount the FTP file system with a call to rtems_ftpfs_mount().
    53  * Alternatively you can use mount() with the @ref rtems_ftpfs_ops operations
    54  * table.
     52 * You can mount the FTP file system with a call to mount() or
     53 * mount_and_make_target_path() with the @ref RTEMS_FILESYSTEM_TYPE_FTPFS file
     54 * system type.
     55 *
     56 * You have to add @ref CONFIGURE_FILESYSTEM_FTPFS to your application
     57 * configuration.
    5558 *
    5659 * You can open files either read-only or write-only.  A seek is not allowed.
     
    7578
    7679/**
    77  * Well-known port number for FTP control connection.
     80 * @brief Well-known port number for FTP control connection.
    7881 */
    7982#define RTEMS_FTPFS_CTRL_PORT 21
    8083
    8184/**
    82  * Default mount point for FTP file system.
     85 * @brief Default mount point for FTP file system.
    8386 */
    8487#define RTEMS_FTPFS_MOUNT_POINT_DEFAULT "/FTP"
    8588
    8689/**
    87  * FTP file system IO control requests.
     90 * @brief FTP file system IO control requests.
    8891 */
    8992typedef enum {
     
    9598
    9699/**
    97  * FTP file system operations table.
    98  */
    99 extern const rtems_filesystem_operations_table rtems_ftpfs_ops;
    100 
    101 /**
    102  * Returns in @a verbose if the verbose mode is enabled or disabled for the
    103  * file system at @a mount_point.
     100 * @brief Returns in @a verbose if the verbose mode is enabled or disabled for
     101 * the file system at @a mount_point.
    104102 *
    105103 * If @a mount_point is @c NULL the default mount point
     
    109107
    110108/**
    111  * Enables or disables the verbose mode if @a verbose is @c true or
     109 * @brief Enables or disables the verbose mode if @a verbose is @c true or
    112110 * @c false respectively for the file system at @a mount_point.
    113111 *
     
    121119
    122120/**
    123  * Returns the current timeout value in @a timeout for the file system at
    124  * @a mount_point.
     121 * @brief Returns the current timeout value in @a timeout for the file system
     122 * at @a mount_point.
    125123 *
    126124 * If @a mount_point is @c NULL the default mount point
     
    133131
    134132/**
    135  * Sets the timeout value to @a timeout for the file system at @a mount_point.
     133 * @brief Sets the timeout value to @a timeout for the file system at
     134 * @a mount_point.
    136135 *
    137136 * The timeout value will be used during connection establishment of active
     
    150149
    151150/**
    152  * Creates the default mount point @ref RTEMS_FTPFS_MOUNT_POINT_DEFAULT and
    153  * mounts the FTP file system. Do not call directly, use mount.xs
    154  *
    155  * It is mounted with read and write access.
     151 * @brief Do not call directly, use mount().
    156152 */
    157 int rtems_ftpfs_initialize(rtems_filesystem_mount_table_entry_t *e,
    158                            const void                           *d);
     153int rtems_ftpfs_initialize(
     154  rtems_filesystem_mount_table_entry_t *mt_entry,
     155  const void *data
     156);
    159157
    160158#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.