aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorMorten Kvistgaard <MK@pch-engineering.dk>2014-08-05 21:57:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2014-08-05 21:57:18 +0200
commitfeac9b607dc68ea63992a46b3b8361f00f663cdc (patch)
treeed5bca82370298e195f5b5e3d84d40f9e7470a32 /include/libbb.h
parent09a0e2223f68a266749043bf33c84faeb5cee8a0 (diff)
downloadbusybox-w32-feac9b607dc68ea63992a46b3b8361f00f663cdc.tar.gz
busybox-w32-feac9b607dc68ea63992a46b3b8361f00f663cdc.tar.bz2
busybox-w32-feac9b607dc68ea63992a46b3b8361f00f663cdc.zip
ftpd: add optional support for authentication
function old new delta cmdio_get_cmd_and_arg - 237 +237 get_passwd - 97 +97 check_password - 82 +82 ftpd_main 2297 2178 -119 ask_and_check_password_extended 206 84 -122 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 0/2 up/down: 416/-241) Total: 175 bytes Signed-off-by: Morten Kvistgaard <MK@pch-engineering.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 858084bc5..ff223dd0f 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1316,6 +1316,7 @@ int sd_listen_fds(void);
1316#define SETUP_ENV_NO_CHDIR (1 << 4) 1316#define SETUP_ENV_NO_CHDIR (1 << 4)
1317void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC; 1317void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC;
1318void nuke_str(char *str) FAST_FUNC; 1318void nuke_str(char *str) FAST_FUNC;
1319int check_password(const struct passwd *pw, const char *plaintext) FAST_FUNC;
1319int ask_and_check_password_extended(const struct passwd *pw, int timeout, const char *prompt) FAST_FUNC; 1320int ask_and_check_password_extended(const struct passwd *pw, int timeout, const char *prompt) FAST_FUNC;
1320int ask_and_check_password(const struct passwd *pw) FAST_FUNC; 1321int ask_and_check_password(const struct passwd *pw) FAST_FUNC;
1321/* Returns a malloced string */ 1322/* Returns a malloced string */