[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.882 and 1.883

version 1.882, 2019/04/25 18:18:55 version 1.883, 2019/04/26 11:38:51
Line 683 
Line 683 
         u_int                   range_argument;          u_int                   range_argument;
 };  };
   
 /* Hook data structures. */  
 struct hook {  
         const char      *name;  
   
         struct cmd_list *cmdlist;  
   
         RB_ENTRY(hook)   entry;  
 };  
   
 /* Virtual screen. */  /* Virtual screen. */
 struct screen_sel;  struct screen_sel;
 struct screen_titles;  struct screen_titles;
Line 995 
Line 986 
         int              statusat;          int              statusat;
         u_int            statuslines;          u_int            statuslines;
   
         struct hooks    *hooks;  
         struct options  *options;          struct options  *options;
   
 #define SESSION_PASTING 0x1  #define SESSION_PASTING 0x1
Line 1521 
Line 1511 
         long long                         number;          long long                         number;
         struct style                      style;          struct style                      style;
         struct options_array              array;          struct options_array              array;
           struct cmd_list                  *cmdlist;
 };  };
   
 /* Option table entries. */  /* Option table entries. */
Line 1531 
Line 1522 
         OPTIONS_TABLE_COLOUR,          OPTIONS_TABLE_COLOUR,
         OPTIONS_TABLE_FLAG,          OPTIONS_TABLE_FLAG,
         OPTIONS_TABLE_CHOICE,          OPTIONS_TABLE_CHOICE,
         OPTIONS_TABLE_STYLE          OPTIONS_TABLE_STYLE,
           OPTIONS_TABLE_COMMAND
 };  };
   
 enum options_table_scope {  enum options_table_scope {
         OPTIONS_TABLE_NONE,          OPTIONS_TABLE_NONE,
         OPTIONS_TABLE_SERVER,          OPTIONS_TABLE_SERVER,
         OPTIONS_TABLE_SESSION,          OPTIONS_TABLE_SESSION,
         OPTIONS_TABLE_WINDOW,          OPTIONS_TABLE_WINDOW
 };  };
   
 #define OPTIONS_TABLE_IS_ARRAY 0x1  #define OPTIONS_TABLE_IS_ARRAY 0x1
   #define OPTIONS_TABLE_IS_HOOK 0x2
   
 struct options_table_entry {  struct options_table_entry {
         const char               *name;          const char               *name;
Line 1599 
Line 1592 
 };  };
   
 /* tmux.c */  /* tmux.c */
 extern struct hooks     *global_hooks;  
 extern struct options   *global_options;  extern struct options   *global_options;
 extern struct options   *global_s_options;  extern struct options   *global_s_options;
 extern struct options   *global_w_options;  extern struct options   *global_w_options;
Line 1693 
Line 1685 
 char            *format_trim_left(const char *, u_int);  char            *format_trim_left(const char *, u_int);
 char            *format_trim_right(const char *, u_int);  char            *format_trim_right(const char *, u_int);
   
 /* hooks.c */  
 struct hook;  
 struct hooks    *hooks_get(struct session *);  
 struct hooks    *hooks_create(struct hooks *);  
 void             hooks_free(struct hooks *);  
 struct hook     *hooks_first(struct hooks *);  
 struct hook     *hooks_next(struct hook *);  
 void             hooks_add(struct hooks *, const char *, struct cmd_list *);  
 void             hooks_copy(struct hooks *, struct hooks *);  
 void             hooks_remove(struct hooks *, const char *);  
 struct hook     *hooks_find(struct hooks *, const char *);  
 void printflike(4, 5) hooks_insert(struct hooks *, struct cmdq_item *,  
                     struct cmd_find_state *, const char *, ...);  
   
 /* notify.c */  /* notify.c */
 void    notify_hook(struct cmdq_item *, const char *);  void    notify_hook(struct cmdq_item *, const char *);
 void    notify_input(struct window_pane *, struct evbuffer *);  void    notify_input(struct window_pane *, struct evbuffer *);
Line 1734 
Line 1712 
 void             options_array_clear(struct options_entry *);  void             options_array_clear(struct options_entry *);
 union options_value *options_array_get(struct options_entry *, u_int);  union options_value *options_array_get(struct options_entry *, u_int);
 int              options_array_set(struct options_entry *, u_int, const char *,  int              options_array_set(struct options_entry *, u_int, const char *,
                      int);                       int, char **);
 void             options_array_assign(struct options_entry *, const char *);  int              options_array_assign(struct options_entry *, const char *,
                        char **);
 struct options_array_item *options_array_first(struct options_entry *);  struct options_array_item *options_array_first(struct options_entry *);
 struct options_array_item *options_array_next(struct options_array_item *);  struct options_array_item *options_array_next(struct options_array_item *);
 u_int            options_array_item_index(struct options_array_item *);  u_int            options_array_item_index(struct options_array_item *);
Line 1956 
Line 1935 
 struct cmdq_item *cmdq_get_callback1(const char *, cmdq_cb, void *);  struct cmdq_item *cmdq_get_callback1(const char *, cmdq_cb, void *);
 void             cmdq_insert_after(struct cmdq_item *, struct cmdq_item *);  void             cmdq_insert_after(struct cmdq_item *, struct cmdq_item *);
 void             cmdq_append(struct client *, struct cmdq_item *);  void             cmdq_append(struct client *, struct cmdq_item *);
   void             cmdq_insert_hook(struct session *, struct cmdq_item *,
                        struct cmd_find_state *, const char *, ...);
 void printflike(3, 4) cmdq_format(struct cmdq_item *, const char *,  void printflike(3, 4) cmdq_format(struct cmdq_item *, const char *,
                      const char *, ...);                       const char *, ...);
 u_int            cmdq_next(struct client *);  u_int            cmdq_next(struct client *);

Legend:
Removed from v.1.882  
changed lines
  Added in v.1.883