diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-30 10:11:37 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-05-02 09:56:49 +0200 |
commit | b771cb48a61c6094da114d064df7d6b1daa01953 (patch) | |
tree | 594609d1670eab02ec9ea65f38dd5e5b147447e8 /cpukit/include/rtems/ftpd.h | |
parent | 32b5b238da77289eb74a36401d8198934437be6d (diff) |
ftpd: Always build FTP daemon
Add support for libbsd initialization.
Update #3419.
Diffstat (limited to 'cpukit/include/rtems/ftpd.h')
-rw-r--r-- | cpukit/include/rtems/ftpd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/include/rtems/ftpd.h b/cpukit/include/rtems/ftpd.h index f33ca59d3a..b8d5e779f3 100644 --- a/cpukit/include/rtems/ftpd.h +++ b/cpukit/include/rtems/ftpd.h @@ -5,7 +5,7 @@ #ifndef _RTEMS_FTPD_H #define _RTEMS_FTPD_H -#include <rtems/rtems/tasks.h> +#include <rtems.h> #ifdef __cplusplus extern "C" { @@ -54,6 +54,7 @@ struct rtems_ftpd_configuration 3 - browse-only */ rtems_shell_login_check_t login; /* Login check or 0 to ignore user/passwd. */ + bool verbose; /* Say hello! */ }; /* @@ -65,6 +66,10 @@ struct rtems_ftpd_configuration #define TRANSIENT 4 /* transient negative completion */ #define ERROR 5 /* permanent negative completion */ +int rtems_ftpd_start(const struct rtems_ftpd_configuration *config); + +extern struct rtems_ftpd_configuration rtems_ftpd_configuration; + int rtems_initialize_ftpd(void); #ifdef __cplusplus |