aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2016-01-19 16:01:30 +0000
committernicm <nicm>2016-01-19 16:01:30 +0000
commitb5b5221c13ded5b141fa35f60c707c9c403b83a6 (patch)
tree881fffd252c499ab94939520ac067f476f0b6bac /tmux.h
parent995af0e2b72aec54ba3685b1a8ce5e78d279d8ff (diff)
downloadrtmux-b5b5221c13ded5b141fa35f60c707c9c403b83a6.tar.gz
rtmux-b5b5221c13ded5b141fa35f60c707c9c403b83a6.tar.bz2
rtmux-b5b5221c13ded5b141fa35f60c707c9c403b83a6.zip
Split out getting the current state from the target search so it can be
replaced if we already know the current.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 941548d0..eb3373da 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1769,8 +1769,11 @@ long long args_strtonum(struct args *, u_char, long long, long long,
char **);
/* cmd-find.c */
-int cmd_find_target(struct cmd_find_state *, struct cmd_q *,
- const char *, enum cmd_find_type, int);
+int cmd_find_current(struct cmd_find_state *, struct cmd_q *,
+ int);
+int cmd_find_target(struct cmd_find_state *,
+ struct cmd_find_state *, struct cmd_q *, const char *,
+ enum cmd_find_type, int);
struct client *cmd_find_client(struct cmd_q *, const char *, int);
void cmd_find_clear_state(struct cmd_find_state *, struct cmd_q *,
int);
@@ -1793,7 +1796,8 @@ char **cmd_copy_argv(int, char **);
void cmd_free_argv(int, char **);
char *cmd_stringify_argv(int, char **);
struct cmd *cmd_parse(int, char **, const char *, u_int, char **);
-int cmd_prepare_state(struct cmd *, struct cmd_q *);
+int cmd_prepare_state(struct cmd *, struct cmd_q *,
+ struct cmd_q *);
char *cmd_print(struct cmd *);
int cmd_mouse_at(struct window_pane *, struct mouse_event *,
u_int *, u_int *, int);