aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index e99bb928f..64167bba3 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1300,9 +1300,10 @@ int sd_listen_fds(void);
1300#define SETUP_ENV_CLEARENV (1 << 1) 1300#define SETUP_ENV_CLEARENV (1 << 1)
1301#define SETUP_ENV_TO_TMP (1 << 2) 1301#define SETUP_ENV_TO_TMP (1 << 2)
1302#define SETUP_ENV_NO_CHDIR (1 << 4) 1302#define SETUP_ENV_NO_CHDIR (1 << 4)
1303extern void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC; 1303void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC;
1304extern int ask_and_check_password_extended(const struct passwd *pw, int timeout, const char *prompt) FAST_FUNC; 1304void nuke_str(char *str) FAST_FUNC;
1305extern int ask_and_check_password(const struct passwd *pw) FAST_FUNC; 1305int ask_and_check_password_extended(const struct passwd *pw, int timeout, const char *prompt) FAST_FUNC;
1306int ask_and_check_password(const struct passwd *pw) FAST_FUNC;
1306/* Returns a malloced string */ 1307/* Returns a malloced string */
1307#if !ENABLE_USE_BB_CRYPT 1308#if !ENABLE_USE_BB_CRYPT
1308#define pw_encrypt(clear, salt, cleanup) pw_encrypt(clear, salt) 1309#define pw_encrypt(clear, salt, cleanup) pw_encrypt(clear, salt)