# notify_insert_one_hook

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

```c
static struct cmdq_item * notify_insert_one_hook(struct cmdq_item *item, struct notify_entry *ne, struct cmd_list *cmdlist, struct cmdq_state *state)
```

## Parameters

- `item` (`struct cmdq_item *`)
- `ne` (`struct notify_entry *`)
- `cmdlist` (`struct cmd_list *`)
- `state` (`struct cmdq_state *`)

## Called by

- [`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#L107)

## Calls

- [`cmd_list_print`](/en/tmux/3.7c/reference/c-function-cmd_list_print/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L48)
- [`cmdq_get_command`](/en/tmux/3.7c/reference/c-function-cmdq_get_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L52)
- [`cmdq_insert_after`](/en/tmux/3.7c/reference/c-function-cmdq_insert_after/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L53)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L49)
- [`log_get_level`](/en/tmux/3.7c/reference/c-function-log_get_level/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L47)

## Referenced declarations

- [`cmd_list`](/en/tmux/3.7c/reference/c-struct-cmd_list/) (struct)
- [`cmdq_item.cmdlist`](/en/tmux/3.7c/reference/c-struct-cmdq_item-cmdlist/) (attribute)
- [`cmdq_item`](/en/tmux/3.7c/reference/c-struct-cmdq_item/) (struct)
- [`cmdq_state`](/en/tmux/3.7c/reference/c-struct-cmdq_state/) (struct)
- [`notify_entry.name`](/en/tmux/3.7c/reference/c-struct-notify_entry-name/) (attribute)
- [`notify_entry`](/en/tmux/3.7c/reference/c-struct-notify_entry/) (struct)
- [`cmdq_item.state`](/en/tmux/3.7c/reference/c-struct-cmdq_item-state/) (attribute)
