aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-20 17:27:18 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-20 17:27:18 +0000
commit9b5f5ed8e8f74a9a615dfb6f5975b2f054d6d1fd (patch)
tree9e7eb6387f389f1f26165b67f027d2bf347906e4 /tmux.h
parent273f1b385cdbe472501092edabf78acb2ea70a47 (diff)
downloadrtmux-9b5f5ed8e8f74a9a615dfb6f5975b2f054d6d1fd.tar.gz
rtmux-9b5f5ed8e8f74a9a615dfb6f5975b2f054d6d1fd.tar.bz2
rtmux-9b5f5ed8e8f74a9a615dfb6f5975b2f054d6d1fd.zip
Move some common and untidy code for window link/unlink into generic functions
instead of duplicating it in move/link window..
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 0c5d2686..c6d77b40 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1456,6 +1456,9 @@ void server_status_window(struct window *);
void server_lock(void);
int server_unlock(const char *);
void server_kill_window(struct window *);
+int server_link_window(
+ struct winlink *, struct session *, int, int, int, char **);
+void server_unlink_window(struct session *, struct winlink *);
void server_destroy_session(struct session *);
void server_set_identify(struct client *);
void server_clear_identify(struct client *);