diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-04 17:24:07 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-04 17:24:07 +0000 |
commit | 65b9aeb33707e9663ac594b872ab33b9a78d7daa (patch) | |
tree | 8e5683f752dd693c0d402adc21e4a47702e3ea4d /tmux.h | |
parent | 171256057ee19fd92262eeb50a2d01e21355a597 (diff) | |
download | rtmux-65b9aeb33707e9663ac594b872ab33b9a78d7daa.tar.gz rtmux-65b9aeb33707e9663ac594b872ab33b9a78d7daa.tar.bz2 rtmux-65b9aeb33707e9663ac594b872ab33b9a78d7daa.zip |
Put socket path in $TMUX.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -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( |