diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-09-25 17:51:39 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-09-25 17:51:39 +0000 |
commit | 88c3b9c98987a593eb0f54cd4033012c8708891e (patch) | |
tree | 8343f7d2272e0be8019a0a94fa6fa9063ee8f13a /tmux.h | |
parent | 804b8696a47b37076f8ae0e0b04dcba3e2d1fb7c (diff) | |
download | rtmux-88c3b9c98987a593eb0f54cd4033012c8708891e.tar.gz rtmux-88c3b9c98987a593eb0f54cd4033012c8708891e.tar.bz2 rtmux-88c3b9c98987a593eb0f54cd4033012c8708891e.zip |
Sync OpenBSD patchset 353:
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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.455 2009-09-25 17:45:46 tcunha Exp $ */ +/* $Id: tmux.h,v 1.456 2009-09-25 17:51:39 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1324,7 +1324,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; @@ -1455,6 +1457,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( |