From 5ef6d077c67b80fdb5e2153172f6d1ec1302050f Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 26 Sep 2007 18:50:49 +0000 Subject: Join oldest session if non specified. Fix errors. --- tmux.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 4b3b7ed2..37c6cf20 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.14 2007-09-26 18:32:17 nicm Exp $ */ +/* $Id: tmux.h,v 1.15 2007-09-26 18:50:49 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -259,24 +259,24 @@ struct buffer { /* Message codes. */ enum hdrtype { - MSG_NEW = 0, MSG_ATTACH, - MSG_ERROR, MSG_CREATE, + MSG_ERROR, MSG_EXIT, - MSG_SIZE, - MSG_NEXT, - MSG_PREVIOUS, MSG_INPUT, + MSG_LAST, + MSG_NEW, + MSG_NEXT, MSG_OUTPUT, + MSG_PAUSE, + MSG_PREVIOUS, MSG_REFRESH, + MSG_RENAME, MSG_SELECT, MSG_SESSIONS, + MSG_SIZE, + MSG_WINDOWLIST, MSG_WINDOWS, - MSG_PAUSE, - MSG_RENAME, - MSG_LAST, - MSG_WINDOWLIST }; /* Message header structure. */ @@ -451,11 +451,11 @@ int client_main(struct client_ctx *); void client_write_server(struct client_ctx *, enum hdrtype, void *, size_t); /* client-msg.c */ -int client_msg_dispatch(struct client_ctx *, const char **); +int client_msg_dispatch(struct client_ctx *, char **); /* command.c */ extern int client_cmd_prefix; -int client_cmd_dispatch(int, struct client_ctx *, const char **); +int client_cmd_dispatch(int, struct client_ctx *, char **); /* server.c */ extern struct clients clients; -- cgit