[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.401 and 1.402

version 1.401, 2013/03/25 10:09:07 version 1.402, 2013/03/25 10:11:45
Line 466 
Line 466 
  * 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;    /* PID from $TMUX or -1 */          pid_t           pid;            /* from $TMUX or -1 */
         int             idx;    /* index from $TMUX or -1 */          int             session_id;     /* from $TMUX or -1 */
   
         int             argc;          int             argc;
         char            argv[COMMAND_LENGTH];          char            argv[COMMAND_LENGTH];
Line 1090 
Line 1090 
 TAILQ_HEAD(session_groups, session_group);  TAILQ_HEAD(session_groups, session_group);
   
 struct session {  struct session {
         u_int            idx;          u_int            id;
   
         char            *name;          char            *name;
         char            *cwd;          char            *cwd;
Line 1517 
Line 1517 
 extern int       login_shell;  extern int       login_shell;
 extern char     *environ_path;  extern char     *environ_path;
 extern pid_t     environ_pid;  extern pid_t     environ_pid;
 extern int       environ_idx;  extern int       environ_session_id;
 void             logfile(const char *);  void             logfile(const char *);
 const char      *getshell(void);  const char      *getshell(void);
 int              checkshell(const char *);  int              checkshell(const char *);
Line 2291 
Line 2291 
 RB_PROTOTYPE(sessions, session, entry, session_cmp);  RB_PROTOTYPE(sessions, session, entry, session_cmp);
 int              session_alive(struct session *);  int              session_alive(struct session *);
 struct session  *session_find(const char *);  struct session  *session_find(const char *);
 struct session  *session_find_by_index(u_int);  struct session  *session_find_by_id(u_int);
 struct session  *session_create(const char *, const char *, const char *,  struct session  *session_create(const char *, const char *, const char *,
                      struct environ *, struct termios *, int, u_int, u_int,                       struct environ *, struct termios *, int, u_int, u_int,
                      char **);                       char **);

Legend:
Removed from v.1.401  
changed lines
  Added in v.1.402