90#define RTEMS_FTPFS_CTRL_PORT 21
95#define RTEMS_FTPFS_MOUNT_POINT_DEFAULT "/FTP"
101 RTEMS_FTPFS_IOCTL_GET_VERBOSE = _IOR(
'd', 1,
bool *),
102 RTEMS_FTPFS_IOCTL_SET_VERBOSE = _IOW(
'd', 1,
bool *),
103 RTEMS_FTPFS_IOCTL_GET_TIMEOUT = _IOR(
'd', 2,
struct timeval *),
104 RTEMS_FTPFS_IOCTL_SET_TIMEOUT = _IOW(
'd', 2,
struct timeval *)
136 const char *mount_point,
137 struct timeval *timeout
152 const char *mount_point,
153 const struct timeval *timeout
int rtems_ftpfs_initialize(rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
Do not call directly, use mount().
Definition: ftpfs.c:1266
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
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 ...
Definition: ftpfs.c:225
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.
Definition: ftpfs.c:234
rtems_ftpfs_ioctl_numbers
FTP file system IO control requests.
Definition: ftpfs.h:100
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.
Definition: ftpfs.c:246
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.
Definition: ftpfs.c:216
Mount table entry.
Definition: libio.h:1621