From 8731755ab4dc79f95f0a5ed8dfc8ae3bb9536256 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 2 Jun 2008 22:09:49 +0000 Subject: Add a windowonly generic command and use it where appropriate. Also trim includes and unused. --- tmux.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tmux.h') 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 @@ -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); -- cgit