aboutsummaryrefslogtreecommitdiff
path: root/loginutils/tinylogin.h
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/tinylogin.h')
-rw-r--r--loginutils/tinylogin.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/loginutils/tinylogin.h b/loginutils/tinylogin.h
new file mode 100644
index 000000000..5e56a2c7f
--- /dev/null
+++ b/loginutils/tinylogin.h
@@ -0,0 +1,10 @@
+#ifndef BB_LOGINUTILS_SHELL_H
+#define BB_LOGINUTILS_SHELL_H
+
+extern void change_identity ( const struct passwd *pw );
+extern void run_shell ( const char *shell, int loginshell, const char *command, char **additional_args );
+extern int restricted_shell ( const char *shell );
+extern void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw );
+extern int correct_password ( const struct passwd *pw );
+
+#endif