diff options
author | 2016-10-16 22:06:40 +0000 | |
---|---|---|
committer | 2016-10-16 22:06:40 +0000 | |
commit | 2ae124fe486d7811b42e2daedf9d60322f1794d3 (patch) | |
tree | 3ba6edb7f45cafe7d15054b1d759a9425c8b0468 /usr.bin/tmux/tmux.h | |
parent | Use closefrom(4) in privsep parent and avoid some global file (diff) | |
download | wireguard-openbsd-2ae124fe486d7811b42e2daedf9d60322f1794d3.tar.xz wireguard-openbsd-2ae124fe486d7811b42e2daedf9d60322f1794d3.zip |
Use the notify name string instead of going via an enum and change
existing hooks to use notifys instead.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 2d63b18f897..17732bd522f 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.670 2016/10/16 19:36:37 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.671 2016/10/16 22:06:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1583,14 +1583,11 @@ enum mode_key_cmd mode_key_lookup(struct mode_key_data *, key_code); /* notify.c */ void notify_input(struct window_pane *, struct evbuffer *); -void notify_window_layout_changed(struct window *); -void notify_window_unlinked(struct session *, struct window *); -void notify_window_linked(struct session *, struct window *); -void notify_window_renamed(struct window *); -void notify_attached_session_changed(struct client *); -void notify_session_renamed(struct session *); -void notify_session_created(struct session *); -void notify_session_closed(struct session *); +void notify_client(const char *, struct client *); +void notify_session(const char *, struct session *); +void notify_session_window(const char *, struct session *, struct window *); +void notify_window(const char *, struct window *); +void notify_pane(const char *, struct window_pane *); /* options.c */ struct options *options_create(struct options *); @@ -2209,7 +2206,7 @@ void control_notify_window_layout_changed(struct window *); void control_notify_window_unlinked(struct session *, struct window *); void control_notify_window_linked(struct session *, struct window *); void control_notify_window_renamed(struct window *); -void control_notify_attached_session_changed(struct client *); +void control_notify_client_session_changed(struct client *); void control_notify_session_renamed(struct session *); void control_notify_session_created(struct session *); void control_notify_session_closed(struct session *); |