aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-03 20:44:38 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-03 20:44:38 +0000
commitf796336a12e2d3c487a53854fdf28c096481a34a (patch)
treea276b6aa0d020ffcfd4040ff18c31938c06da17c /tmux.h
parent3b944fe7e847ee5e5741582ed34b702273f0b9ef (diff)
downloadrtmux-f796336a12e2d3c487a53854fdf28c096481a34a.tar.gz
rtmux-f796336a12e2d3c487a53854fdf28c096481a34a.tar.bz2
rtmux-f796336a12e2d3c487a53854fdf28c096481a34a.zip
Sync OpenBSD patchset 308:
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 05fe641f..3bde8ee1 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.434 2009-09-02 22:45:17 tcunha Exp $ */
+/* $Id: tmux.h,v 1.435 2009-09-03 20:44:38 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1106,7 +1106,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;