aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 22:09:49 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 22:09:49 +0000
commit8731755ab4dc79f95f0a5ed8dfc8ae3bb9536256 (patch)
treeb561c06699cfbdb0d771f5b7eda29587662f13c8 /tmux.h
parent95cc21c25180d0f2e7b488983e3078834343d162 (diff)
downloadrtmux-8731755ab4dc79f95f0a5ed8dfc8ae3bb9536256.tar.gz
rtmux-8731755ab4dc79f95f0a5ed8dfc8ae3bb9536256.tar.bz2
rtmux-8731755ab4dc79f95f0a5ed8dfc8ae3bb9536256.zip
Add a windowonly generic command and use it where appropriate. Also trim includes and unused.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 61474ebf..646c6ff5 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.119 2008-06-02 21:36:51 nicm Exp $ */
+/* $Id: tmux.h,v 1.120 2008-06-02 22:09:49 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -780,6 +780,13 @@ void cmd_sessiononly_send(void *, struct buffer *);
void cmd_sessiononly_recv(void **, struct buffer *);
void cmd_sessiononly_free(void *);
struct session *cmd_sessiononly_get(void *, struct cmd_ctx *);
+#define CMD_WINDOWONLY_USAGE "[-i index] [-s session-name]"
+int cmd_windowonly_parse(struct cmd *, void **, int, char **, char **);
+void cmd_windowonly_exec(void *, struct cmd_ctx *);
+void cmd_windowonly_send(void *, struct buffer *);
+void cmd_windowonly_recv(void **, struct buffer *);
+void cmd_windowonly_free(void *);
+struct winlink *cmd_windowonly_get(void *, struct cmd_ctx *, struct session **);
/* client.c */
int client_init(const char *, struct client_ctx *, int);