[BACK]Return to tmux.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tmux.h between version 1.426 and 1.427

version 1.426, 2013/10/10 12:13:29 version 1.427, 2013/10/10 12:13:56
Line 62 
Line 62 
  * Maximum sizes of strings in message data. Don't forget to bump   * Maximum sizes of strings in message data. Don't forget to bump
  * PROTOCOL_VERSION if any of these change!   * PROTOCOL_VERSION if any of these change!
  */   */
 #define COMMAND_LENGTH 2048     /* packed argv size */  
 #define TERMINAL_LENGTH 128     /* length of TERM environment variable */  #define TERMINAL_LENGTH 128     /* length of TERM environment variable */
 #define ENVIRON_LENGTH 1024     /* environment variable length */  #define ENVIRON_LENGTH 1024     /* environment variable length */
   
Line 475 
Line 474 
  * Don't forget to bump PROTOCOL_VERSION if any of these change!   * Don't forget to bump PROTOCOL_VERSION if any of these change!
  */   */
 struct msg_command_data {  struct msg_command_data {
         pid_t           pid;            /* from $TMUX or -1 */          pid_t   pid;            /* from $TMUX or -1 */
         int             session_id;     /* from $TMUX or -1 */          int     session_id;     /* from $TMUX or -1 */
   
         int             argc;          int     argc;
         char            argv[COMMAND_LENGTH];  }; /* followed by packed argv */
 };  
   
 struct msg_identify_data {  struct msg_identify_data {
         char            cwd[MAXPATHLEN];          char            cwd[MAXPATHLEN];
   
         char            term[TERMINAL_LENGTH];          char            term[TERMINAL_LENGTH];
   
         int             flags;          int             flags;
Line 1319 
Line 1316 
 #define CLIENT_EXIT 0x4  #define CLIENT_EXIT 0x4
 #define CLIENT_REDRAW 0x8  #define CLIENT_REDRAW 0x8
 #define CLIENT_STATUS 0x10  #define CLIENT_STATUS 0x10
 #define CLIENT_REPEAT 0x20 /* allow command to repeat within repeat time */  #define CLIENT_REPEAT 0x20
 #define CLIENT_SUSPENDED 0x40  #define CLIENT_SUSPENDED 0x40
 #define CLIENT_BAD 0x80  #define CLIENT_BAD 0x80
 #define CLIENT_IDENTIFY 0x100  #define CLIENT_IDENTIFY 0x100
Line 1922 
Line 1919 
 /* server-fn.c */  /* server-fn.c */
 void     server_fill_environ(struct session *, struct environ *);  void     server_fill_environ(struct session *, struct environ *);
 void     server_write_ready(struct client *);  void     server_write_ready(struct client *);
 int      server_write_client(  int      server_write_client(struct client *, enum msgtype, const void *,
              struct client *, enum msgtype, const void *, size_t);               size_t);
 void     server_write_session(  void     server_write_session(struct session *, enum msgtype, const void *,
              struct session *, enum msgtype, const void *, size_t);               size_t);
 void     server_redraw_client(struct client *);  void     server_redraw_client(struct client *);
 void     server_status_client(struct client *);  void     server_status_client(struct client *);
 void     server_redraw_session(struct session *);  void     server_redraw_session(struct session *);

Legend:
Removed from v.1.426  
changed lines
  Added in v.1.427