aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-24 14:17:09 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-24 14:17:09 +0000
commit8fa1858a2c02aafa31695a12fa40cd5dbdd53cd2 (patch)
treeabec88eed0aa73acb73d0cb95a5bb684a4a94cce /tmux.h
parent1764ef81efce5f265f61107f0b1e91d73b858fb4 (diff)
downloadrtmux-8fa1858a2c02aafa31695a12fa40cd5dbdd53cd2.tar.gz
rtmux-8fa1858a2c02aafa31695a12fa40cd5dbdd53cd2.tar.bz2
rtmux-8fa1858a2c02aafa31695a12fa40cd5dbdd53cd2.zip
New lock-client and lock-session commands to lock an individual client or all
clients attached to a session respectively.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 46117659..3c49ae30 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1326,7 +1326,9 @@ extern const struct cmd_entry cmd_list_keys_entry;
extern const struct cmd_entry cmd_list_sessions_entry;
extern const struct cmd_entry cmd_list_windows_entry;
extern const struct cmd_entry cmd_load_buffer_entry;
+extern const struct cmd_entry cmd_lock_client_entry;
extern const struct cmd_entry cmd_lock_server_entry;
+extern const struct cmd_entry cmd_lock_session_entry;
extern const struct cmd_entry cmd_move_window_entry;
extern const struct cmd_entry cmd_new_session_entry;
extern const struct cmd_entry cmd_new_window_entry;
@@ -1457,6 +1459,8 @@ void server_status_session(struct session *);
void server_redraw_window(struct window *);
void server_status_window(struct window *);
void server_lock(void);
+void server_lock_session(struct session *);
+void server_lock_client(struct client *);
int server_unlock(const char *);
void server_kill_window(struct window *);
int server_link_window(