[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.331 and 1.332

version 1.331, 2012/05/06 07:38:17 version 1.332, 2012/05/21 18:27:42
Line 19 
Line 19 
 #ifndef TMUX_H  #ifndef TMUX_H
 #define TMUX_H  #define TMUX_H
   
 #define PROTOCOL_VERSION 6  #define PROTOCOL_VERSION 7
   
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/time.h>  #include <sys/time.h>
Line 369 
Line 369 
         MSG_EXITED,          MSG_EXITED,
         MSG_EXITING,          MSG_EXITING,
         MSG_IDENTIFY,          MSG_IDENTIFY,
         MSG_PRINT,          MSG_STDIN,
         MSG_READY,          MSG_READY,
         MSG_RESIZE,          MSG_RESIZE,
         MSG_SHUTDOWN,          MSG_SHUTDOWN,
Line 425 
Line 425 
         int             retcode;          int             retcode;
 };  };
   
   struct msg_stdin_data {
           ssize_t size;
           char    data[BUFSIZ];
   };
   
   struct msg_stdout_data {
           ssize_t size;
           char    data[BUFSIZ];
   };
   
   struct msg_stderr_data {
           ssize_t size;
           char    data[BUFSIZ];
   };
   
 /* Mode key commands. */  /* Mode key commands. */
 enum mode_key_cmd {  enum mode_key_cmd {
         MODEKEY_NONE,          MODEKEY_NONE,
Line 1161 
Line 1176 
   
         struct tty       tty;          struct tty       tty;
   
         int              stdin_fd;          void            (*stdin_callback)(struct client *, int, void *);
         void            *stdin_data;          void            *stdin_callback_data;
         void            (*stdin_callback)(struct client *, void *);          struct evbuffer *stdin_data;
         struct bufferevent *stdin_event;          int              stdin_closed;
           struct evbuffer *stdout_data;
           struct evbuffer *stderr_data;
   
         int              stdout_fd;  
         struct bufferevent *stdout_event;  
   
         int              stderr_fd;  
         struct bufferevent *stderr_event;  
   
         struct event     repeat_timer;          struct event     repeat_timer;
   
         struct status_out_tree status_old;          struct status_out_tree status_old;
Line 1734 
Line 1745 
   
 /* 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_client(  int      server_write_client(
              struct client *, enum msgtype, const void *, size_t);               struct client *, enum msgtype, const void *, size_t);
 void     server_write_session(  void     server_write_session(
              struct session *, enum msgtype, const void *, size_t);               struct session *, enum msgtype, const void *, size_t);
Line 1762 
Line 1773 
 void     server_set_identify(struct client *);  void     server_set_identify(struct client *);
 void     server_clear_identify(struct client *);  void     server_clear_identify(struct client *);
 void     server_update_event(struct client *);  void     server_update_event(struct client *);
   void     server_push_stdout(struct client *);
   void     server_push_stderr(struct client *);
   int      server_set_stdin_callback(struct client *, void (*)(struct client *,
                int, void *), void *, char **);
   
 /* status.c */  /* status.c */
 int      status_out_cmp(struct status_out *, struct status_out *);  int      status_out_cmp(struct status_out *, struct status_out *);

Legend:
Removed from v.1.331  
changed lines
  Added in v.1.332