diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-16 22:06:41 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-16 22:06:41 +0000 |
commit | dd710358400562e21af7c99f0af8e30112a967f8 (patch) | |
tree | 6d1f0d78f02d2464887c89f626277be197e72f57 /usr.bin/tmux/tmux.h | |
parent | 682bdbaa44332449efd70c28f021e0a61033aa50 (diff) |
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 *); |