# server_client_dispatch_identify

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2191
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-server-client-c-server_client_dispatch_identify/

```c
static void server_client_dispatch_identify(struct client *, struct imsg *)
```

## Parameters

- `c` (`struct client *`)
- `imsg` (`struct imsg *`)

## Called by

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

## Calls

- [`control_start`](/en/tmux/3.2a/reference/c-function-control_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2308)
- [`environ_put`](/en/tmux/3.2a/reference/c-function-environ_put/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2279)
- [`fatalx`](/en/tmux/3.2a/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2200)
- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2211)
- [`start_cfg`](/en/tmux/3.2a/reference/c-function-start_cfg/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2329)
- [`tty_init`](/en/tmux/3.2a/reference/c-function-tty_init/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2310)
- [`tty_resize`](/en/tmux/3.2a/reference/c-function-tty_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2314)
- [`xasprintf`](/en/tmux/3.2a/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2299)
- [`xreallocarray`](/en/tmux/3.2a/reference/c-function-xreallocarray/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2241)
- [`xstrdup`](/en/tmux/3.2a/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2233)

## Other function references

- [`find_home`](/en/tmux/3.2a/reference/c-function-find_home/) (function)
- [`tty_get_features`](/en/tmux/3.2a/reference/c-function-tty_get_features/) (function)

## Referenced declarations

- [`cfg_finished`](/en/tmux/3.2a/reference/c-variable-cfg_finished/) (attribute)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`CLIENT_CONTROL`](/en/tmux/3.2a/reference/c-define-tmux-h-client_control/) (constant)
- [`CLIENT_EXIT`](/en/tmux/3.2a/reference/c-define-tmux-h-client_exit/) (constant)
- [`CLIENT_IDENTIFIED`](/en/tmux/3.2a/reference/c-define-tmux-h-client_identified/) (constant)
- [`CLIENT_TERMINAL`](/en/tmux/3.2a/reference/c-define-tmux-h-client_terminal/) (constant)
- [`client.cwd`](/en/tmux/3.2a/reference/c-struct-client-cwd/) (attribute)
- [`client.environ`](/en/tmux/3.2a/reference/c-struct-client-environ/) (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)
- [`session.flags`](/en/tmux/3.2a/reference/c-struct-session-flags/) (attribute)
- [`MSG_IDENTIFY_CLIENTPID`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_clientpid/) (constant)
- [`MSG_IDENTIFY_CWD`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_cwd/) (constant)
- [`MSG_IDENTIFY_DONE`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_done/) (constant)
- [`MSG_IDENTIFY_ENVIRON`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_environ/) (constant)
- [`MSG_IDENTIFY_FEATURES`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_features/) (constant)
- [`MSG_IDENTIFY_FLAGS`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_flags/) (constant)
- [`MSG_IDENTIFY_LONGFLAGS`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_longflags/) (constant)
- [`MSG_IDENTIFY_STDIN`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_stdin/) (constant)
- [`MSG_IDENTIFY_STDOUT`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_stdout/) (constant)
- [`MSG_IDENTIFY_TERM`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_term/) (constant)
- [`MSG_IDENTIFY_TERMINFO`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_terminfo/) (constant)
- [`MSG_IDENTIFY_TTYNAME`](/en/tmux/3.2a/reference/c-enum-msgtype-msg_identify_ttyname/) (constant)
- [`client.name`](/en/tmux/3.2a/reference/c-struct-client-name/) (attribute)
- [`session.name`](/en/tmux/3.2a/reference/c-struct-session-name/) (attribute)
- [`client.out_fd`](/en/tmux/3.2a/reference/c-struct-client-out_fd/) (attribute)
- [`client.pid`](/en/tmux/3.2a/reference/c-struct-client-pid/) (attribute)
- [`client.term_caps`](/en/tmux/3.2a/reference/c-struct-client-term_caps/) (attribute)
- [`client.term_features`](/en/tmux/3.2a/reference/c-struct-client-term_features/) (attribute)
- [`client.term_name`](/en/tmux/3.2a/reference/c-struct-client-term_name/) (attribute)
- [`client.term_ncaps`](/en/tmux/3.2a/reference/c-struct-client-term_ncaps/) (attribute)
- [`client.tty`](/en/tmux/3.2a/reference/c-struct-client-tty/) (attribute)
- [`client.ttyname`](/en/tmux/3.2a/reference/c-struct-client-ttyname/) (attribute)
