# control_ready

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

```c
void control_ready(struct client *c)
```

## Parameters

- `c` (`struct client *`)

## Called by

- [`server_client_command_done`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_command_done/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2354)

## Referenced declarations

- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`client.control_state`](/en/tmux/3.7c/reference/c-struct-client-control_state/) (attribute)
- [`control_state.read_event`](/en/tmux/3.7c/reference/c-struct-control_state-read_event/) (attribute)
