aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-03-04 17:24:07 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-03-04 17:24:07 +0000
commit65b9aeb33707e9663ac594b872ab33b9a78d7daa (patch)
tree8e5683f752dd693c0d402adc21e4a47702e3ea4d /tmux.h
parent171256057ee19fd92262eeb50a2d01e21355a597 (diff)
downloadrtmux-65b9aeb33707e9663ac594b872ab33b9a78d7daa.tar.gz
rtmux-65b9aeb33707e9663ac594b872ab33b9a78d7daa.tar.bz2
rtmux-65b9aeb33707e9663ac594b872ab33b9a78d7daa.zip
Put socket path in $TMUX.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/tmux.h b/tmux.h
index 9d8e5266..c992eb8b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.276 2009-03-02 18:05:40 nicm Exp $ */
+/* $Id: tmux.h,v 1.277 2009-03-04 17:24:07 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -19,7 +19,7 @@
#ifndef TMUX_H
#define TMUX_H
-#define PROTOCOL_VERSION -11
+#define PROTOCOL_VERSION -12
/* Shut up gcc warnings about empty if bodies. */
#define RB_AUGMENT(x) do {} while (0)
@@ -117,9 +117,6 @@ extern const char *__progname;
/* Default prompt history length. */
#define PROMPT_HISTORY 100
-/* Default environment. */
-#define CHILD_ENVIRON { NULL /* TMUX= */, "TERM=screen", NULL }
-
/* Minimum pane size. */
#define PANE_MINIMUM 4 /* includes separator line */
@@ -1313,9 +1310,7 @@ int server_start(const char *);
int server_msg_dispatch(struct client *);
/* server-fn.c */
-struct session *server_extract_session(
- struct msg_command_data *, char *, char **);
-void server_write(struct client *, enum hdrtype, const void *, size_t);
+const char **server_fill_environ(struct session *);
void server_write_client(
struct client *, enum hdrtype, const void *, size_t);
void server_write_session(