=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- src/usr.bin/tmux/tmux.h 2009/07/17 15:03:11 1.35 +++ src/usr.bin/tmux/tmux.h 2009/07/17 18:45:08 1.36 @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.35 2009/07/17 15:03:11 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.36 2009/07/17 18:45:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -19,7 +19,7 @@ #ifndef TMUX_H #define TMUX_H -#define PROTOCOL_VERSION -13 +#define PROTOCOL_VERSION -14 #include #include @@ -1110,6 +1110,7 @@ extern const struct cmd_entry cmd_copy_mode_entry; extern const struct cmd_entry cmd_delete_buffer_entry; extern const struct cmd_entry cmd_detach_client_entry; +extern const struct cmd_entry cmd_display_message_entry; extern const struct cmd_entry cmd_down_pane_entry; extern const struct cmd_entry cmd_find_window_entry; extern const struct cmd_entry cmd_has_session_entry; @@ -1286,6 +1287,7 @@ /* status.c */ int status_redraw(struct client *); +char *status_replace(struct session *, const char *, time_t); void printflike2 status_message_set(struct client *, const char *, ...); void status_message_clear(struct client *); int status_message_redraw(struct client *); @@ -1447,6 +1449,7 @@ const char *, const char *, const char **, u_int, char **); void window_remove_pane(struct window *, struct window_pane *); struct window_pane *window_pane_at_index(struct window *, u_int); +u_int window_pane_index(struct window *, struct window_pane *); u_int window_count_panes(struct window *); void window_destroy_panes(struct window *); struct window_pane *window_pane_create(struct window *, u_int, u_int, u_int);