=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.611 retrieving revision 1.612 diff -c -r1.611 -r1.612 *** src/usr.bin/tmux/tmux.h 2015/12/15 00:00:01 1.611 --- src/usr.bin/tmux/tmux.h 2015/12/15 13:43:07 1.612 *************** *** 1,4 **** ! /* $OpenBSD: tmux.h,v 1.611 2015/12/15 00:00:01 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.612 2015/12/15 13:43:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1368,1373 **** --- 1368,1375 ---- 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; *************** *** 1375,1380 **** --- 1377,1383 ---- struct cmd_q_items queue; struct cmd_q_item *item; struct cmd *cmd; + struct cmd_q *parent; struct cmd_state state; *************** *** 1581,1587 **** 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 *); /* mode-key.c */ extern const struct mode_key_table mode_key_tables[]; --- 1584,1593 ---- void hooks_copy(struct hooks *, struct hooks *); void hooks_remove(struct hooks *, const char *); struct hook *hooks_find(struct hooks *, const char *); ! 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[];