summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-17 22:35:09 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-17 22:35:09 +0000
commit46210344a62b079ff61435b978da41a0f92caf3a (patch)
treedb1d29f00e52472ad2e2d200cc583845ad8a5e12 /tmux.h
parent4f480c901de715a2fa0ec450c57d4881d662413f (diff)
Add notify hooks for various events, the functions are currently empty
stubs but will be filled in for control mode later. From George Nachman.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 9257117a..5f2f3a44 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1396,6 +1396,16 @@ void mode_key_init_trees(void);
void mode_key_init(struct mode_key_data *, struct mode_key_tree *);
enum mode_key_cmd mode_key_lookup(struct mode_key_data *, int);
+/* notify.c */
+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 *);
+
/* options.c */
int options_cmp(struct options_entry *, struct options_entry *);
RB_PROTOTYPE(options_tree, options_entry, entry, options_cmp);