aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-02 16:38:35 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-02 16:38:35 +0000
commitc5ac2579bac08f46f68ee7b9b9e47b6123e83bd2 (patch)
tree5737b5805ca0cf415d3457c80860e6874e7f6b72 /tmux.h
parent61b7dc522d175c5f2a8b38d177adcf7282820380 (diff)
downloadrtmux-c5ac2579bac08f46f68ee7b9b9e47b6123e83bd2.tar.gz
rtmux-c5ac2579bac08f46f68ee7b9b9e47b6123e83bd2.tar.bz2
rtmux-c5ac2579bac08f46f68ee7b9b9e47b6123e83bd2.zip
When incorrect passwords are entered, behave similarly to login(1) and backoff
for a bit. Based on a diff from martynas@.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index e301b1d9..57d5bf4b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1108,7 +1108,9 @@ extern struct options global_w_options;
extern struct environ global_environ;
extern char *cfg_file;
extern int server_locked;
+extern struct passwd *server_locked_pw;
extern u_int password_failures;
+extern time_t password_backoff;
extern char *server_password;
extern time_t server_activity;
extern int debug_level;