=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.1072 retrieving revision 1.1073 diff -c -r1.1072 -r1.1073 *** src/usr.bin/tmux/tmux.h 2020/07/04 14:24:02 1.1072 --- src/usr.bin/tmux/tmux.h 2020/07/06 09:14:20 1.1073 *************** *** 1,4 **** ! /* $OpenBSD: tmux.h,v 1.1072 2020/07/04 14:24:02 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.1073 2020/07/06 09:14:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1722,1727 **** --- 1722,1736 ---- }; TAILQ_HEAD(clients, client); + /* Control mode subscription type. */ + enum control_sub_type { + CONTROL_SUB_SESSION, + CONTROL_SUB_PANE, + CONTROL_SUB_ALL_PANES, + CONTROL_SUB_WINDOW, + CONTROL_SUB_ALL_WINDOWS + }; + /* Key binding and key table. */ struct key_binding { key_code key; *************** *** 2862,2867 **** --- 2871,2879 ---- void printflike(2, 3) control_write(struct client *, const char *, ...); void control_write_output(struct client *, struct window_pane *); int control_all_done(struct client *); + void control_add_sub(struct client *, const char *, enum control_sub_type, + int, const char *); + void control_remove_sub(struct client *, const char *); /* control-notify.c */ void control_notify_input(struct client *, struct window_pane *,