summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-09-26 18:50:49 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-09-26 18:50:49 +0000
commit5ef6d077c67b80fdb5e2153172f6d1ec1302050f (patch)
treee43cda0a503957b18d769c25c0c9191faa893b99 /tmux.h
parent8d019841828d30beee5c78500b07f0c80e69457e (diff)
Join oldest session if non specified. Fix errors.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h24
1 files changed, 12 insertions, 12 deletions
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 <nicm@users.sourceforge.net>
@@ -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;