# control_notify_session_created

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L197
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-control_notify_session_created/

```c
void control_notify_session_created(struct session *s)
```

## Parameters

- `s` (`struct session *`)

## Called by

- [`notify_callback`](/en/tmux/latest/reference/c-function-notify-c-notify_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L148)

## Calls

- [`control_write`](/en/tmux/latest/reference/c-function-control_write/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/control-notify.c#L205)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`CONTROL_SHOULD_NOTIFY_CLIENT`](/en/tmux/latest/reference/c-define-control-notify-c-control_should_notify_client/) (constant)
- [`winlink.entry`](/en/tmux/latest/reference/c-struct-winlink-entry/) (attribute)
- [`session`](/en/tmux/latest/reference/c-struct-session/) (struct)
