summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd/ftpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/ftpd/ftpd.h')
-rw-r--r--cpukit/ftpd/ftpd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/ftpd/ftpd.h b/cpukit/ftpd/ftpd.h
index 26b39f2d89..d8707c9bde 100644
--- a/cpukit/ftpd/ftpd.h
+++ b/cpukit/ftpd/ftpd.h
@@ -25,6 +25,8 @@ enum
typedef int (*rtems_ftpd_hookfunction)(char *, size_t);
+#include <rtems/shell.h>
+
struct rtems_ftpd_hook
{
char *filename;
@@ -45,6 +47,8 @@ struct rtems_ftpd_configuration
int access; /* 0 - r/w, 1 - read-only,
2 - write-only,
3 - browse-only */
+ rtems_shell_login_check_t login; /* Login check or 0 to ignore
+ user/passwd. */
};
/*