summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd/ftpd.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-06-24 10:00:36 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-06-24 10:00:36 +0000
commit86933ce00d651d36484923a467772f815f901697 (patch)
tree2a91878a789c4eb9e75feb474d6f94b098559eae /cpukit/ftpd/ftpd.h
parent2011-06-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-86933ce00d651d36484923a467772f815f901697.tar.bz2
2011-06-24 Arnout Vandecappelle <arnout@mind.be>
Sebastien Bourdeauducq <sebastien@milkymist.org> PR 1724/cpukit * ftpd/ftpd.h, ftpd/ftpd.c: Added USER/PASS authentication.
Diffstat (limited to '')
-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. */
};
/*