[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.191 and 1.192

version 1.191, 2009/12/03 17:44:02 version 1.192, 2009/12/03 22:50:10
Line 340 
Line 340 
 struct tty_code {  struct tty_code {
         enum tty_code_type      type;          enum tty_code_type      type;
         union {          union {
                 char           *string;                  char           *string;
                 int             number;                  int             number;
                 int             flag;                  int             flag;
         } value;          } value;
 };  };
   
Line 404 
Line 404 
 };  };
   
 struct msg_lock_data {  struct msg_lock_data {
         char            cmd[COMMAND_LENGTH];          char            cmd[COMMAND_LENGTH];
 };  };
   
 struct msg_environ_data {  struct msg_environ_data {
         char            var[ENVIRON_LENGTH];          char            var[ENVIRON_LENGTH];
 };  };
   
 struct msg_shell_data {  struct msg_shell_data {
         char            shell[MAXPATHLEN];          char            shell[MAXPATHLEN];
 };  };
   
 /* Mode key commands. */  /* Mode key commands. */
Line 438 
Line 438 
         MODEKEYEDIT_SWITCHMODE,          MODEKEYEDIT_SWITCHMODE,
         MODEKEYEDIT_SWITCHMODEAPPEND,          MODEKEYEDIT_SWITCHMODEAPPEND,
         MODEKEYEDIT_TRANSPOSECHARS,          MODEKEYEDIT_TRANSPOSECHARS,
   
         /* Menu (choice) keys. */          /* Menu (choice) keys. */
         MODEKEYCHOICE_CANCEL,          MODEKEYCHOICE_CANCEL,
         MODEKEYCHOICE_CHOOSE,          MODEKEYCHOICE_CHOOSE,
Line 511 
Line 511 
   
 /* Command to string mapping. */  /* Command to string mapping. */
 struct mode_key_cmdstr {  struct mode_key_cmdstr {
         enum mode_key_cmd        cmd;          enum mode_key_cmd        cmd;
         const char              *name;          const char              *name;
 };  };
   
 /* Named mode key table description. */  /* Named mode key table description. */
 struct mode_key_table {  struct mode_key_table {
         const char              *name;          const char              *name;
         struct mode_key_cmdstr  *cmdstr;          struct mode_key_cmdstr  *cmdstr;
         struct mode_key_tree    *tree;          struct mode_key_tree    *tree;
         const struct mode_key_entry *table;     /* default entries */          const struct mode_key_entry *table;     /* default entries */
Line 683 
Line 683 
 struct screen {  struct screen {
         char            *title;          char            *title;
   
         struct grid     *grid;          /* grid data */          struct grid     *grid;          /* grid data */
   
         u_int            cx;            /* cursor x */          u_int            cx;            /* cursor x */
         u_int            cy;            /* cursor y */          u_int            cy;            /* cursor y */
Line 693 
Line 693 
   
         int              mode;          int              mode;
   
         bitstr_t        *tabs;          bitstr_t        *tabs;
   
         struct screen_sel sel;          struct screen_sel sel;
 };  };
Line 743 
Line 743 
         struct utf8_data utf8data;          struct utf8_data utf8data;
   
         u_char           intermediate;          u_char           intermediate;
         void            *(*state)(u_char, struct input_ctx *);          void            *(*state)(u_char, struct input_ctx *);
   
         u_char           private;          u_char           private;
         ARRAY_DECL(, struct input_arg) args;          ARRAY_DECL(, struct input_arg) args;
Line 762 
Line 762 
         void    (*resize)(struct window_pane *, u_int, u_int);          void    (*resize)(struct window_pane *, u_int, u_int);
         void    (*key)(struct window_pane *, struct client *, int);          void    (*key)(struct window_pane *, struct client *, int);
         void    (*mouse)(struct window_pane *,          void    (*mouse)(struct window_pane *,
                     struct client *, struct mouse_event *);                      struct client *, struct mouse_event *);
         void    (*timer)(struct window_pane *);          void    (*timer)(struct window_pane *);
 };  };
   
Line 800 
Line 800 
         struct screen    base;          struct screen    base;
   
         /* Saved in alternative screen mode. */          /* Saved in alternative screen mode. */
         u_int            saved_cx;          u_int            saved_cx;
         u_int            saved_cy;          u_int            saved_cy;
         struct grid     *saved_grid;          struct grid     *saved_grid;
         struct grid_cell saved_cell;          struct grid_cell saved_cell;
   
Line 949 
Line 949 
 /* TTY information. */  /* TTY information. */
 struct tty_key {  struct tty_key {
         char             ch;          char             ch;
         int              key;          int              key;
   
         struct tty_key  *left;          struct tty_key  *left;
         struct tty_key  *right;          struct tty_key  *right;
Line 975 
Line 975 
 struct tty {  struct tty {
         char            *path;          char            *path;
   
         u_int            sx;          u_int            sx;
         u_int            sy;          u_int            sy;
   
         u_int            cx;          u_int            cx;
         u_int            cy;          u_int            cy;
Line 994 
Line 994 
   
         int              log_fd;          int              log_fd;
   
         struct termios   tio;          struct termios   tio;
   
         struct grid_cell cell;          struct grid_cell cell;
   
Line 1006 
Line 1006 
 #define TTY_UTF8 0x8  #define TTY_UTF8 0x8
 #define TTY_STARTED 0x10  #define TTY_STARTED 0x10
 #define TTY_OPENED 0x20  #define TTY_OPENED 0x20
         int              flags;          int              flags;
   
         int              term_flags;          int              term_flags;
   
Line 1069 
Line 1069 
         char            *title;          char            *title;
         char            *cwd;          char            *cwd;
   
         struct tty       tty;          struct tty       tty;
         struct event     repeat_timer;          struct event     repeat_timer;
   
         struct timeval   status_timer;          struct timeval   status_timer;
Line 1146 
Line 1146 
   
 struct cmd {  struct cmd {
         const struct cmd_entry *entry;          const struct cmd_entry *entry;
         void            *data;          void            *data;
   
         TAILQ_ENTRY(cmd) qentry;          TAILQ_ENTRY(cmd) qentry;
 };  };
Line 1172 
Line 1172 
         int              (*parse)(struct cmd *, int, char **, char **);          int              (*parse)(struct cmd *, int, char **, char **);
         int              (*exec)(struct cmd *, struct cmd_ctx *);          int              (*exec)(struct cmd *, struct cmd_ctx *);
         void             (*free)(struct cmd *);          void             (*free)(struct cmd *);
         size_t           (*print)(struct cmd *, char *, size_t);          size_t           (*print)(struct cmd *, char *, size_t);
 };  };
   
 /* Generic command data. */  /* Generic command data. */
Line 1242 
Line 1242 
 extern int       debug_level;  extern int       debug_level;
 extern int       be_quiet;  extern int       be_quiet;
 extern time_t    start_time;  extern time_t    start_time;
 extern char     *socket_path;  extern char     *socket_path;
 extern int       login_shell;  extern int       login_shell;
 void             logfile(const char *);  void             logfile(const char *);
 const char      *getshell(void);  const char      *getshell(void);
Line 1278 
Line 1278 
 struct options_entry *options_find(struct options *, const char *);  struct options_entry *options_find(struct options *, const char *);
 void    options_remove(struct options *, const char *);  void    options_remove(struct options *, const char *);
 struct options_entry *printflike3 options_set_string(  struct options_entry *printflike3 options_set_string(
             struct options *, const char *, const char *, ...);              struct options *, const char *, const char *, ...);
 char   *options_get_string(struct options *, const char *);  char   *options_get_string(struct options *, const char *);
 struct options_entry *options_set_number(  struct options_entry *options_set_number(
             struct options *, const char *, long long);              struct options *, const char *, long long);
 long long options_get_number(struct options *, const char *);  long long options_get_number(struct options *, const char *);
 struct options_entry *options_set_data(  struct options_entry *options_set_data(
             struct options *, const char *, void *, void (*)(void *));              struct options *, const char *, void *, void (*)(void *));
 void   *options_get_data(struct options *, const char *);  void   *options_get_data(struct options *, const char *);
   
 /* job.c */  /* job.c */
Line 1312 
Line 1312 
 void    environ_set(struct environ *, const char *, const char *);  void    environ_set(struct environ *, const char *, const char *);
 void    environ_put(struct environ *, const char *);  void    environ_put(struct environ *, const char *);
 void    environ_unset(struct environ *, const char *);  void    environ_unset(struct environ *, const char *);
 void    environ_update(const char *, struct environ *, struct environ *);  void    environ_update(const char *, struct environ *, struct environ *);
   
 /* tty.c */  /* tty.c */
 void    tty_raw(struct tty *, const char *);  void    tty_raw(struct tty *, const char *);
Line 1361 
Line 1361 
 extern struct tty_terms tty_terms;  extern struct tty_terms tty_terms;
 extern struct tty_term_code_entry tty_term_codes[NTTYCODE];  extern struct tty_term_code_entry tty_term_codes[NTTYCODE];
 struct tty_term *tty_term_find(char *, int, const char *, char **);  struct tty_term *tty_term_find(char *, int, const char *, char **);
 void             tty_term_free(struct tty_term *);  void             tty_term_free(struct tty_term *);
 int              tty_term_has(struct tty_term *, enum tty_code_code);  int              tty_term_has(struct tty_term *, enum tty_code_code);
 const char      *tty_term_string(struct tty_term *, enum tty_code_code);  const char      *tty_term_string(struct tty_term *, enum tty_code_code);
 const char      *tty_term_string1(struct tty_term *, enum tty_code_code, int);  const char      *tty_term_string1(struct tty_term *, enum tty_code_code, int);
 const char      *tty_term_string2(  const char      *tty_term_string2(
                      struct tty_term *, enum tty_code_code, int, int);                       struct tty_term *, enum tty_code_code, int, int);
 int              tty_term_number(struct tty_term *, enum tty_code_code);  int              tty_term_number(struct tty_term *, enum tty_code_code);
 int              tty_term_flag(struct tty_term *, enum tty_code_code);  int              tty_term_flag(struct tty_term *, enum tty_code_code);
   
Line 1381 
Line 1381 
 struct paste_buffer *paste_walk_stack(struct paste_stack *, uint *);  struct paste_buffer *paste_walk_stack(struct paste_stack *, uint *);
 struct paste_buffer *paste_get_top(struct paste_stack *);  struct paste_buffer *paste_get_top(struct paste_stack *);
 struct paste_buffer *paste_get_index(struct paste_stack *, u_int);  struct paste_buffer *paste_get_index(struct paste_stack *, u_int);
 int              paste_free_top(struct paste_stack *);  int              paste_free_top(struct paste_stack *);
 int              paste_free_index(struct paste_stack *, u_int);  int              paste_free_index(struct paste_stack *, u_int);
 void             paste_add(struct paste_stack *, char *, size_t, u_int);  void             paste_add(struct paste_stack *, char *, size_t, u_int);
 int              paste_replace(struct paste_stack *, u_int, char *, size_t);  int              paste_replace(struct paste_stack *, u_int, char *, size_t);
Line 1393 
Line 1393 
 /* cmd-set-option.c */  /* cmd-set-option.c */
 extern const struct set_option_entry set_session_option_table[];  extern const struct set_option_entry set_session_option_table[];
 extern const struct set_option_entry set_window_option_table[];  extern const struct set_option_entry set_window_option_table[];
 const char      *cmd_set_option_print(  const char      *cmd_set_option_print(
                     const struct set_option_entry *, struct options_entry *);                      const struct set_option_entry *, struct options_entry *);
   
 /* cmd.c */  /* cmd.c */
Line 1508 
Line 1508 
 int     cmd_string_parse(const char *, struct cmd_list **, char **);  int     cmd_string_parse(const char *, struct cmd_list **, char **);
   
 /* cmd-generic.c */  /* cmd-generic.c */
 size_t  cmd_prarg(char *, size_t, const char *, char *);  size_t  cmd_prarg(char *, size_t, const char *, char *);
 int     cmd_check_flag(uint64_t, int);  int     cmd_check_flag(uint64_t, int);
 void    cmd_set_flag(uint64_t *, int);  void    cmd_set_flag(uint64_t *, int);
 #define CMD_TARGET_PANE_USAGE "[-t target-pane]"  #define CMD_TARGET_PANE_USAGE "[-t target-pane]"
Line 1580 
Line 1580 
 void     server_fill_environ(struct session *, struct environ *);  void     server_fill_environ(struct session *, struct environ *);
 void     server_write_error(struct client *, const char *);  void     server_write_error(struct client *, const char *);
 void     server_write_client(  void     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);
 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 *);
Line 1609 
Line 1609 
 /* status.c */  /* status.c */
 int      status_redraw(struct client *);  int      status_redraw(struct client *);
 char    *status_replace(  char    *status_replace(
              struct client *, struct winlink *, const char *, time_t, int);               struct client *, struct winlink *, const char *, time_t, int);
 void printflike2 status_message_set(struct client *, const char *, ...);  void printflike2 status_message_set(struct client *, const char *, ...);
 void     status_message_clear(struct client *);  void     status_message_clear(struct client *);
 int      status_message_redraw(struct client *);  int      status_message_redraw(struct client *);
 void     status_prompt_set(struct client *, const char *,  void     status_prompt_set(struct client *, const char *,
              int (*)(void *, const char *), void (*)(void *), void *, int);               int (*)(void *, const char *), void (*)(void *), void *, int);
 void     status_prompt_clear(struct client *);  void     status_prompt_clear(struct client *);
 int      status_prompt_redraw(struct client *);  int      status_prompt_redraw(struct client *);
 void     status_prompt_key(struct client *, int);  void     status_prompt_key(struct client *, int);
Line 1633 
Line 1633 
 void     input_mouse(struct window_pane *, struct mouse_event *);  void     input_mouse(struct window_pane *, struct mouse_event *);
   
 /* xterm-keys.c */  /* xterm-keys.c */
 char    *xterm_keys_lookup(int);  char    *xterm_keys_lookup(int);
 int      xterm_keys_find(const char *, size_t, size_t *, int *);  int      xterm_keys_find(const char *, size_t, size_t *, int *);
   
 /* colour.c */  /* colour.c */
Line 1670 
Line 1670 
 void     grid_move_cells(struct grid *, u_int, u_int, u_int, u_int);  void     grid_move_cells(struct grid *, u_int, u_int, u_int, u_int);
 char    *grid_string_cells(struct grid *, u_int, u_int, u_int);  char    *grid_string_cells(struct grid *, u_int, u_int, u_int);
 void     grid_duplicate_lines(  void     grid_duplicate_lines(
              struct grid *, u_int, struct grid *, u_int, u_int);               struct grid *, u_int, struct grid *, u_int, u_int);
   
 /* grid-utf8.c */  /* grid-utf8.c */
 size_t   grid_utf8_size(const struct grid_utf8 *);  size_t   grid_utf8_size(const struct grid_utf8 *);
Line 1683 
Line 1683 
 const struct grid_cell *grid_view_peek_cell(struct grid *, u_int, u_int);  const struct grid_cell *grid_view_peek_cell(struct grid *, u_int, u_int);
 struct grid_cell *grid_view_get_cell(struct grid *, u_int, u_int);  struct grid_cell *grid_view_get_cell(struct grid *, u_int, u_int);
 void     grid_view_set_cell(  void     grid_view_set_cell(
              struct grid *, u_int, u_int, const struct grid_cell *);               struct grid *, u_int, u_int, const struct grid_cell *);
 const struct grid_utf8 *grid_view_peek_utf8(struct grid *, u_int, u_int);  const struct grid_utf8 *grid_view_peek_utf8(struct grid *, u_int, u_int);
 struct grid_utf8 *grid_view_get_utf8(struct grid *, u_int, u_int);  struct grid_utf8 *grid_view_get_utf8(struct grid *, u_int, u_int);
 void     grid_view_set_utf8(  void     grid_view_set_utf8(
              struct grid *, u_int, u_int, const struct grid_utf8 *);               struct grid *, u_int, u_int, const struct grid_utf8 *);
 void     grid_view_clear(struct grid *, u_int, u_int, u_int, u_int);  void     grid_view_clear(struct grid *, u_int, u_int, u_int, u_int);
 void     grid_view_scroll_region_up(struct grid *, u_int, u_int);  void     grid_view_scroll_region_up(struct grid *, u_int, u_int);
 void     grid_view_scroll_region_down(struct grid *, u_int, u_int);  void     grid_view_scroll_region_down(struct grid *, u_int, u_int);
Line 1701 
Line 1701 
   
 /* screen-write.c */  /* screen-write.c */
 void     screen_write_start(  void     screen_write_start(
              struct screen_write_ctx *, struct window_pane *, struct screen *);               struct screen_write_ctx *, struct window_pane *, struct screen *);
 void     screen_write_stop(struct screen_write_ctx *);  void     screen_write_stop(struct screen_write_ctx *);
 size_t printflike2 screen_write_cstrlen(int, const char *, ...);  size_t printflike2 screen_write_cstrlen(int, const char *, ...);
 void printflike5 screen_write_cnputs(struct screen_write_ctx *,  void printflike5 screen_write_cnputs(struct screen_write_ctx *,
     ssize_t, struct grid_cell *, int, const char *, ...);               ssize_t, struct grid_cell *, int, const char *, ...);
 size_t printflike2 screen_write_strlen(int, const char *, ...);  size_t printflike2 screen_write_strlen(int, const char *, ...);
 void printflike3 screen_write_puts(struct screen_write_ctx *,  void printflike3 screen_write_puts(struct screen_write_ctx *,
              struct grid_cell *, const char *, ...);               struct grid_cell *, const char *, ...);
 void printflike5 screen_write_nputs(struct screen_write_ctx *,  void printflike5 screen_write_nputs(struct screen_write_ctx *,
     ssize_t, struct grid_cell *, int, const char *, ...);               ssize_t, struct grid_cell *, int, const char *, ...);
 void     screen_write_vnputs(struct screen_write_ctx *,  void     screen_write_vnputs(struct screen_write_ctx *,
              ssize_t, struct grid_cell *, int, const char *, va_list);               ssize_t, struct grid_cell *, int, const char *, va_list);
 void     screen_write_parsestyle(  void     screen_write_parsestyle(
              struct grid_cell *, struct grid_cell *, const char *);               struct grid_cell *, struct grid_cell *, const char *);
 void     screen_write_putc(  void     screen_write_putc(
              struct screen_write_ctx *, struct grid_cell *, u_char);               struct screen_write_ctx *, struct grid_cell *, u_char);
 void     screen_write_copy(struct screen_write_ctx *,  void     screen_write_copy(struct screen_write_ctx *,
              struct screen *, u_int, u_int, u_int, u_int);               struct screen *, u_int, u_int, u_int, u_int);
 void     screen_write_backspace(struct screen_write_ctx *);  void     screen_write_backspace(struct screen_write_ctx *);
Line 1747 
Line 1747 
 void     screen_write_clearstartofscreen(struct screen_write_ctx *);  void     screen_write_clearstartofscreen(struct screen_write_ctx *);
 void     screen_write_clearscreen(struct screen_write_ctx *);  void     screen_write_clearscreen(struct screen_write_ctx *);
 void     screen_write_cell(struct screen_write_ctx *,  void     screen_write_cell(struct screen_write_ctx *,
              const struct grid_cell *, const struct utf8_data *);               const struct grid_cell *, const struct utf8_data *);
   
 /* screen-redraw.c */  /* screen-redraw.c */
 void     screen_redraw_screen(struct client *, int);  void     screen_redraw_screen(struct client *, int);
Line 1772 
Line 1772 
 RB_PROTOTYPE(windows, window, entry, window_cmp);  RB_PROTOTYPE(windows, window, entry, window_cmp);
 RB_PROTOTYPE(winlinks, winlink, entry, winlink_cmp);  RB_PROTOTYPE(winlinks, winlink, entry, winlink_cmp);
 struct winlink  *winlink_find_by_index(struct winlinks *, int);  struct winlink  *winlink_find_by_index(struct winlinks *, int);
 struct winlink  *winlink_find_by_window(struct winlinks *, struct window *);  struct winlink  *winlink_find_by_window(struct winlinks *, struct window *);
 int              winlink_next_index(struct winlinks *, int);  int              winlink_next_index(struct winlinks *, int);
 u_int            winlink_count(struct winlinks *);  u_int            winlink_count(struct winlinks *);
 struct winlink  *winlink_add(struct winlinks *, struct window *, int);  struct winlink  *winlink_add(struct winlinks *, struct window *, int);
Line 1781 
Line 1781 
 struct winlink  *winlink_previous(struct winlink *);  struct winlink  *winlink_previous(struct winlink *);
 void             winlink_stack_push(struct winlink_stack *, struct winlink *);  void             winlink_stack_push(struct winlink_stack *, struct winlink *);
 void             winlink_stack_remove(struct winlink_stack *, struct winlink *);  void             winlink_stack_remove(struct winlink_stack *, struct winlink *);
 int              window_index(struct window *, u_int *);  int              window_index(struct window *, u_int *);
 struct window   *window_create1(u_int, u_int);  struct window   *window_create1(u_int, u_int);
 struct window   *window_create(const char *, const char *, const char *,  struct window   *window_create(const char *, const char *, const char *,
                      const char *, struct environ *, struct termios *,                       const char *, struct environ *, struct termios *,
                      u_int, u_int, u_int, char **);                       u_int, u_int, u_int, char **);
 void             window_destroy(struct window *);  void             window_destroy(struct window *);
 void             window_set_active_at(struct window *, u_int, u_int);  void             window_set_active_at(struct window *, u_int, u_int);
 void             window_set_active_pane(struct window *, struct window_pane *);  void             window_set_active_pane(struct window *, struct window_pane *);
Line 1808 
Line 1808 
 void             window_pane_parse(struct window_pane *);  void             window_pane_parse(struct window_pane *);
 void             window_pane_key(struct window_pane *, struct client *, int);  void             window_pane_key(struct window_pane *, struct client *, int);
 void             window_pane_mouse(struct window_pane *,  void             window_pane_mouse(struct window_pane *,
                      struct client *, struct mouse_event *);                       struct client *, struct mouse_event *);
 int              window_pane_visible(struct window_pane *);  int              window_pane_visible(struct window_pane *);
 char            *window_pane_search(  char            *window_pane_search(
                      struct window_pane *, const char *, u_int *);                       struct window_pane *, const char *, u_int *);
   
 /* layout.c */  /* layout.c */
 struct layout_cell *layout_create_cell(struct layout_cell *);  struct layout_cell *layout_create_cell(struct layout_cell *);
Line 1831 
Line 1831 
 void             layout_free(struct window *);  void             layout_free(struct window *);
 void             layout_resize(struct window *, u_int, u_int);  void             layout_resize(struct window *, u_int, u_int);
 void             layout_resize_pane(  void             layout_resize_pane(
                      struct window_pane *, enum layout_type, int);                       struct window_pane *, enum layout_type, int);
 int              layout_split_pane(struct window_pane *,  int              layout_split_pane(struct window_pane *,
                      enum layout_type, int, struct window_pane *);                       enum layout_type, int, struct window_pane *);
 void             layout_close_pane(struct window_pane *);  void             layout_close_pane(struct window_pane *);
Line 1849 
Line 1849 
   
 /* window-copy.c */  /* window-copy.c */
 extern const struct window_mode window_copy_mode;  extern const struct window_mode window_copy_mode;
 void             window_copy_pageup(struct window_pane *);  void             window_copy_pageup(struct window_pane *);
   
 /* window-more.c */  /* window-more.c */
 extern const struct window_mode window_more_mode;  extern const struct window_mode window_more_mode;
 void             window_more_vadd(struct window_pane *, const char *, va_list);  void             window_more_vadd(struct window_pane *, const char *, va_list);
   
 /* window-choose.c */  /* window-choose.c */
 extern const struct window_mode window_choose_mode;  extern const struct window_mode window_choose_mode;
 void             window_choose_vadd(  void             window_choose_vadd(
                      struct window_pane *, int, const char *, va_list);                       struct window_pane *, int, const char *, va_list);
 void printflike3 window_choose_add(  void printflike3 window_choose_add(
                      struct window_pane *, int, const char *, ...);                       struct window_pane *, int, const char *, ...);
 void             window_choose_ready(struct window_pane *,  void             window_choose_ready(struct window_pane *,
                      u_int, void (*)(void *, int), void (*)(void *), void *);                       u_int, void (*)(void *, int), void (*)(void *), void *);
   
 /* names.c */  /* names.c */
 void             queue_window_name(struct window *);  void             queue_window_name(struct window *);
 char            *default_window_name(struct window *);  char            *default_window_name(struct window *);
   
 /* session.c */  /* session.c */
 extern struct sessions sessions;  extern struct sessions sessions;
Line 1880 
Line 1880 
 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 **);
 void             session_destroy(struct session *);  void             session_destroy(struct session *);
 int              session_index(struct session *, u_int *);  int              session_index(struct session *, u_int *);
 struct winlink  *session_new(struct session *,  struct winlink  *session_new(struct session *,
                      const char *, const char *, const char *, int, char **);                       const char *, const char *, const char *, int, char **);
 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 *);  int              session_has(struct session *, struct window *);
 int              session_next(struct session *, int);  int              session_next(struct session *, int);

Legend:
Removed from v.1.191  
changed lines
  Added in v.1.192