RTEMS: cpukit/include/rtems/ftpfs.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Enumerations | Functions
ftpfs.h File Reference

File Transfer Protocol file system (FTP client). More...

`#include <sys/time.h>`
`#include <sys/ioctl.h>`
`#include <rtems/libio.h>`

Go to the source code of this file.

## Macros
#define | RTEMS_FTPFS_CTRL_PORT 21
| Well-known port number for FTP control connection.
#define | RTEMS_FTPFS_MOUNT_POINT_DEFAULT "/FTP"
| Default mount point for FTP file system.

## Enumerations
enum | rtems_ftpfs_ioctl_numbers { RTEMS_FTPFS_IOCTL_GET_VERBOSE = _IOR( 'd', 1, bool *) , RTEMS_FTPFS_IOCTL_SET_VERBOSE = _IOW( 'd', 1, bool *) , RTEMS_FTPFS_IOCTL_GET_TIMEOUT = _IOR( 'd', 2, struct timeval *) , RTEMS_FTPFS_IOCTL_SET_TIMEOUT = _IOW( 'd', 2, struct timeval *) }
| FTP file system IO control requests.

## Functions
rtems_status_code | rtems_ftpfs_get_verbose (const char *mount_point, bool *verbose)
| Returns in verbose if the verbose mode is enabled or disabled for the file system at mount_point.
rtems_status_code | rtems_ftpfs_set_verbose (const char *mount_point, bool verbose)
| Enables or disables the verbose mode if verbose is `true` or `false` respectively for the file system at mount_point.
rtems_status_code | rtems_ftpfs_get_timeout (const char *mount_point, struct timeval *timeout)
| Returns the current timeout value in timeout for the file system at mount_point.
rtems_status_code | rtems_ftpfs_set_timeout (const char *mount_point, const struct timeval *timeout)
| Sets the timeout value to timeout for the file system at mount_point.
int | rtems_ftpfs_initialize (rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
| Do not call directly, use mount().

## Detailed Description

File Transfer Protocol file system (FTP client).