aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-15 14:01:12 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-15 14:01:12 +0000
commite5caf64815ae1cf46d69f0b21a970001a4eca33c (patch)
tree6ee1fae73439923b8bc962f0c781075ce24048d5 /tmux.h
parent1a33ea9671895258cee37cf89a209e56ecf578fb (diff)
parentac9778395feb8551e0acbd2f32465b65aeba5e05 (diff)
downloadrtmux-e5caf64815ae1cf46d69f0b21a970001a4eca33c.tar.gz
rtmux-e5caf64815ae1cf46d69f0b21a970001a4eca33c.tar.bz2
rtmux-e5caf64815ae1cf46d69f0b21a970001a4eca33c.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index e12a758d..105dd144 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1370,6 +1370,8 @@ struct cmd_q {
int references;
int flags;
#define CMD_Q_DEAD 0x1
+#define CMD_Q_REENTRY 0x2
+#define CMD_Q_NOHOOKS 0x4
struct client *client;
int client_exit;
@@ -1377,6 +1379,7 @@ struct cmd_q {
struct cmd_q_items queue;
struct cmd_q_item *item;
struct cmd *cmd;
+ struct cmd_q *parent;
struct cmd_state state;
@@ -1583,7 +1586,10 @@ 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 hooks_run(struct hooks *, const char *, struct client *);
+int printflike(3, 4) hooks_run(struct hooks *, struct client *, const char *,
+ ...);
+int printflike(3, 4) hooks_wait(struct hooks *, struct cmd_q *, const char *,
+ ...);
/* mode-key.c */
extern const struct mode_key_table mode_key_tables[];