aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-04-21 17:22:20 +0000
committernicm <nicm>2017-04-21 17:22:20 +0000
commitafa4e3ed9c9928c20b8007634538649422f920b5 (patch)
treecd905b6164983d67973890c8f49a3d34bc08eee6 /tmux.h
parent92a77e7654286a8aa4734b36f74ea49f9494311b (diff)
downloadrtmux-afa4e3ed9c9928c20b8007634538649422f920b5.tar.gz
rtmux-afa4e3ed9c9928c20b8007634538649422f920b5.tar.bz2
rtmux-afa4e3ed9c9928c20b8007634538649422f920b5.zip
Add cmd_find_from_winlink_pane and use it in a couple of places, and
make functions that can't fail void.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 5d614d38..f0453b99 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1744,15 +1744,17 @@ int cmd_find_valid_state(struct cmd_find_state *);
void cmd_find_copy_state(struct cmd_find_state *,
struct cmd_find_state *);
void cmd_find_log_state(const char *, struct cmd_find_state *);
-int cmd_find_from_session(struct cmd_find_state *,
+void cmd_find_from_session(struct cmd_find_state *,
struct session *);
-int cmd_find_from_winlink(struct cmd_find_state *,
+void cmd_find_from_winlink(struct cmd_find_state *,
struct winlink *);
int cmd_find_from_session_window(struct cmd_find_state *,
struct session *, struct window *);
int cmd_find_from_window(struct cmd_find_state *, struct window *);
int cmd_find_from_pane(struct cmd_find_state *,
struct window_pane *);
+void cmd_find_from_winlink_pane(struct cmd_find_state *,
+ struct winlink *, struct window_pane *);
/* cmd.c */
int cmd_pack_argv(int, char **, char *, size_t);