# control_start

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L759
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-control_start/

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

## Parameters

- `c` (`struct client *`)

## Called by

- [`server_client_dispatch_identify`](/en/tmux/3.2a/reference/c-function-server-client-c-server_client_dispatch_identify/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2308)

## Calls

- [`setblocking`](/en/tmux/3.2a/reference/c-function-setblocking/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L767)
- [`xcalloc`](/en/tmux/3.2a/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L770)

## Other function references

- [`control_error_callback`](/en/tmux/3.2a/reference/c-function-control-c-control_error_callback/) (function)
- [`control_read_callback`](/en/tmux/3.2a/reference/c-function-control-c-control_read_callback/) (function)
- [`control_write_callback`](/en/tmux/3.2a/reference/c-function-control-c-control_write_callback/) (function)

## Referenced declarations

- [`control_state.all_blocks`](/en/tmux/3.2a/reference/c-struct-control_state-all_blocks/) (attribute)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`CLIENT_CONTROLCONTROL`](/en/tmux/3.2a/reference/c-define-tmux-h-client_controlcontrol/) (constant)
- [`CONTROL_BUFFER_LOW`](/en/tmux/3.2a/reference/c-define-control-c-control_buffer_low/) (constant)
- [`client.control_state`](/en/tmux/3.2a/reference/c-struct-client-control_state/) (attribute)
- [`client.fd`](/en/tmux/3.2a/reference/c-struct-client-fd/) (attribute)
- [`client.flags`](/en/tmux/3.2a/reference/c-struct-client-flags/) (attribute)
- [`client.out_fd`](/en/tmux/3.2a/reference/c-struct-client-out_fd/) (attribute)
- [`control_state.panes`](/en/tmux/3.2a/reference/c-struct-control_state-panes/) (attribute)
- [`control_state.pending_list`](/en/tmux/3.2a/reference/c-struct-control_state-pending_list/) (attribute)
- [`control_state.read_event`](/en/tmux/3.2a/reference/c-struct-control_state-read_event/) (attribute)
- [`control_state.subs`](/en/tmux/3.2a/reference/c-struct-control_state-subs/) (attribute)
- [`control_state.write_event`](/en/tmux/3.2a/reference/c-struct-control_state-write_event/) (attribute)
