aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 11:52:03 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 11:52:03 +0000
commit68a5d5c00be0e0445e72c2e960588d21c4494467 (patch)
treefa6e1bf24e1287633ff08a41d45d2c7f1e8ed24d /tmux.h
parentff56ed7bd66f9be56f525838c21695a8574c1a09 (diff)
downloadrtmux-68a5d5c00be0e0445e72c2e960588d21c4494467.tar.gz
rtmux-68a5d5c00be0e0445e72c2e960588d21c4494467.tar.bz2
rtmux-68a5d5c00be0e0445e72c2e960588d21c4494467.zip
Window attachment, malloc debugging, fix a segfault with no sessions.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 706da178..88018747 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.46 2007-10-04 11:23:17 nicm Exp $ */
+/* $Id: tmux.h,v 1.47 2007-10-04 11:52:03 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -457,6 +457,7 @@ struct client_ctx {
/* Key/command line command. */
enum cmd_type {
+ CMD_ATTACHSESSION,
CMD_BINDKEY,
CMD_DETACHSESSION,
CMD_LASTWINDOW,
@@ -533,6 +534,7 @@ struct cmd *cmd_recv(struct buffer *);
void cmd_free(struct cmd *);
void cmd_send_string(struct buffer *, const char *);
char *cmd_recv_string(struct buffer *);
+extern const struct cmd_entry cmd_attach_session_entry;
extern const struct cmd_entry cmd_bind_key_entry;
extern const struct cmd_entry cmd_detach_session_entry;
extern const struct cmd_entry cmd_last_window_entry;