[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.225 and 1.226

version 1.225, 2010/06/06 19:00:13 version 1.226, 2010/06/21 01:27:46
Line 843 
Line 843 
 #define WINDOW_BELL 0x1  #define WINDOW_BELL 0x1
 #define WINDOW_HIDDEN 0x2  #define WINDOW_HIDDEN 0x2
 #define WINDOW_ACTIVITY 0x4  #define WINDOW_ACTIVITY 0x4
 #define WINDOW_CONTENT 0x8  #define WINDOW_REDRAW 0x8
 #define WINDOW_REDRAW 0x10  
   
         struct options   options;          struct options   options;
   
Line 861 
Line 860 
         struct grid_cell status_cell;          struct grid_cell status_cell;
         char            *status_text;          char            *status_text;
   
           int              flags;
   #define WINLINK_BELL 0x1
   #define WINLINK_ACTIVITY 0x2
   #define WINLINK_CONTENT 0x4
   #define WINLINK_ALERTFLAGS (WINLINK_BELL|WINLINK_ACTIVITY|WINLINK_CONTENT)
   
         RB_ENTRY(winlink) entry;          RB_ENTRY(winlink) entry;
         TAILQ_ENTRY(winlink) sentry;          TAILQ_ENTRY(winlink) sentry;
 };  };
Line 912 
Line 917 
 RB_HEAD(environ, environ_entry);  RB_HEAD(environ, environ_entry);
   
 /* Client session. */  /* Client session. */
 struct session_alert {  
         struct winlink  *wl;  
         int              type;  
   
         SLIST_ENTRY(session_alert) entry;  
 };  
   
 struct session_group {  struct session_group {
         TAILQ_HEAD(, session) sessions;          TAILQ_HEAD(, session) sessions;
   
Line 943 
Line 941 
   
         struct paste_stack buffers;          struct paste_stack buffers;
   
         SLIST_HEAD(, session_alert) alerts;  
   
 #define SESSION_UNATTACHED 0x1  /* not attached to any clients */  #define SESSION_UNATTACHED 0x1  /* not attached to any clients */
 #define SESSION_DEAD 0x2  #define SESSION_DEAD 0x2
         int              flags;          int              flags;
Line 1911 
Line 1907 
 extern struct sessions sessions;  extern struct sessions sessions;
 extern struct sessions dead_sessions;  extern struct sessions dead_sessions;
 extern struct session_groups session_groups;  extern struct session_groups session_groups;
 void     session_alert_add(struct session *, struct window *, int);  
 void     session_alert_cancel(struct session *, struct winlink *);  
 int      session_alert_has(struct session *, struct winlink *, int);  
 int      session_alert_has_window(struct session *, struct window *, int);  
 struct session  *session_find(const char *);  struct session  *session_find(const char *);
 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,
Line 1926 
Line 1918 
 struct winlink  *session_attach(  struct winlink  *session_attach(
                      struct session *, struct window *, int, char **);                       struct session *, struct window *, int, char **);
 int              session_detach(struct session *, struct winlink *);  int              session_detach(struct session *, struct winlink *);
 int              session_has(struct session *, struct window *);  struct winlink*  session_has(struct session *, struct window *);
 int              session_next(struct session *, int);  int              session_next(struct session *, int);
 int              session_previous(struct session *, int);  int              session_previous(struct session *, int);
 int              session_select(struct session *, int);  int              session_select(struct session *, int);

Legend:
Removed from v.1.225  
changed lines
  Added in v.1.226