# notify_hook

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L234
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-notify_hook/

```c
void notify_hook(struct cmdq_item *item, const char *name)
```

## Parameters

- `item` (`struct cmdq_item *`)
- `name` (`const char *`)

## Called by

- [`cmd_set_option_exec`](/en/tmux/3.7c/reference/c-function-cmd-set-option-c-cmd_set_option_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-set-option.c#L105)

## Calls

- [`cmd_find_copy_state`](/en/tmux/3.7c/reference/c-function-cmd_find_copy_state/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L242)
- [`cmdq_get_client`](/en/tmux/3.7c/reference/c-function-cmdq_get_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L244)
- [`cmdq_get_target`](/en/tmux/3.7c/reference/c-function-cmdq_get_target/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L236)
- [`format_add`](/en/tmux/3.7c/reference/c-function-format_add/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L250)
- [`format_free`](/en/tmux/3.7c/reference/c-function-format_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L254)
- [`format_log_debug`](/en/tmux/3.7c/reference/c-function-format_log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L251)
- [`notify_insert_hook`](/en/tmux/3.7c/reference/c-function-notify-c-notify_insert_hook/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L253)

## Other function references

- [`format_create`](/en/tmux/3.7c/reference/c-function-format_create/) (function)

## Referenced declarations

- [`notify_entry.client`](/en/tmux/3.7c/reference/c-struct-notify_entry-client/) (attribute)
- [`cmdq_item`](/en/tmux/3.7c/reference/c-struct-cmdq_item/) (struct)
- [`FORMAT_NOJOBS`](/en/tmux/3.7c/reference/c-define-tmux-h-format_nojobs/) (constant)
- [`notify_entry.formats`](/en/tmux/3.7c/reference/c-struct-notify_entry-formats/) (attribute)
- [`notify_entry.fs`](/en/tmux/3.7c/reference/c-struct-notify_entry-fs/) (attribute)
- [`window_pane.id`](/en/tmux/3.7c/reference/c-struct-window_pane-id/) (attribute)
- [`notify_entry.name`](/en/tmux/3.7c/reference/c-struct-notify_entry-name/) (attribute)
- [`notify_entry.pane`](/en/tmux/3.7c/reference/c-struct-notify_entry-pane/) (attribute)
- [`cmd_find_state.s`](/en/tmux/3.7c/reference/c-struct-cmd_find_state-s/) (attribute)
- [`notify_entry.session`](/en/tmux/3.7c/reference/c-struct-notify_entry-session/) (attribute)
- [`cmd_find_state.w`](/en/tmux/3.7c/reference/c-struct-cmd_find_state-w/) (attribute)
- [`notify_entry.window`](/en/tmux/3.7c/reference/c-struct-notify_entry-window/) (attribute)
- [`cmd_find_state.wp`](/en/tmux/3.7c/reference/c-struct-cmd_find_state-wp/) (attribute)
