# server_client_dispatch_identify

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2432
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-server-client-c-server_client_dispatch_identify/

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

## Parameters

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

## Called by

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

## Calls

- [`control_start`](/en/tmux/3.7c/reference/c-function-control_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2552)
- [`environ_put`](/en/tmux/3.7c/reference/c-function-environ_put/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2517)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2452)
- [`start_cfg`](/en/tmux/3.7c/reference/c-function-start_cfg/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2581)
- [`tty_init`](/en/tmux/3.7c/reference/c-function-tty_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2554)
- [`tty_resize`](/en/tmux/3.7c/reference/c-function-tty_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2558)
- [`xasprintf`](/en/tmux/3.7c/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2542)
- [`xreallocarray`](/en/tmux/3.7c/reference/c-function-xreallocarray/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2479)
- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2473)

## Other function references

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

## Referenced declarations

- [`cfg_finished`](/en/tmux/3.7c/reference/c-variable-cfg_finished/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`CLIENT_ASSUMEPASTING`](/en/tmux/3.7c/reference/c-define-tmux-h-client_assumepasting/) (constant)
- [`CLIENT_BRACKETPASTING`](/en/tmux/3.7c/reference/c-define-tmux-h-client_bracketpasting/) (constant)
- [`CLIENT_CONTROL`](/en/tmux/3.7c/reference/c-define-tmux-h-client_control/) (constant)
- [`CLIENT_EXIT`](/en/tmux/3.7c/reference/c-define-tmux-h-client_exit/) (constant)
- [`CLIENT_IDENTIFIED`](/en/tmux/3.7c/reference/c-define-tmux-h-client_identified/) (constant)
- [`CLIENT_PASTE_TIME_LIMIT`](/en/tmux/3.7c/reference/c-define-tmux-h-client_paste_time_limit/) (constant)
- [`CLIENT_TERMINAL`](/en/tmux/3.7c/reference/c-define-tmux-h-client_terminal/) (constant)
- [`current_time`](/en/tmux/3.7c/reference/c-variable-current_time/) (attribute)
- [`client.cwd`](/en/tmux/3.7c/reference/c-struct-client-cwd/) (attribute)
- [`client.environ`](/en/tmux/3.7c/reference/c-struct-client-environ/) (attribute)
- [`client.fd`](/en/tmux/3.7c/reference/c-struct-client-fd/) (attribute)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`session.flags`](/en/tmux/3.7c/reference/c-struct-session-flags/) (attribute)
- [`MSG_IDENTIFY_CLIENTPID`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_clientpid/) (constant)
- [`MSG_IDENTIFY_CWD`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_cwd/) (constant)
- [`MSG_IDENTIFY_DONE`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_done/) (constant)
- [`MSG_IDENTIFY_ENVIRON`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_environ/) (constant)
- [`MSG_IDENTIFY_FEATURES`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_features/) (constant)
- [`MSG_IDENTIFY_FLAGS`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_flags/) (constant)
- [`MSG_IDENTIFY_LONGFLAGS`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_longflags/) (constant)
- [`MSG_IDENTIFY_STDIN`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_stdin/) (constant)
- [`MSG_IDENTIFY_STDOUT`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_stdout/) (constant)
- [`MSG_IDENTIFY_TERM`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_term/) (constant)
- [`MSG_IDENTIFY_TERMINFO`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_terminfo/) (constant)
- [`MSG_IDENTIFY_TTYNAME`](/en/tmux/3.7c/reference/c-enum-msgtype-msg_identify_ttyname/) (constant)
- [`client.name`](/en/tmux/3.7c/reference/c-struct-client-name/) (attribute)
- [`session.name`](/en/tmux/3.7c/reference/c-struct-session-name/) (attribute)
- [`client.out_fd`](/en/tmux/3.7c/reference/c-struct-client-out_fd/) (attribute)
- [`client.paste_time`](/en/tmux/3.7c/reference/c-struct-client-paste_time/) (attribute)
- [`client.pid`](/en/tmux/3.7c/reference/c-struct-client-pid/) (attribute)
- [`client.term_caps`](/en/tmux/3.7c/reference/c-struct-client-term_caps/) (attribute)
- [`client.term_features`](/en/tmux/3.7c/reference/c-struct-client-term_features/) (attribute)
- [`client.term_name`](/en/tmux/3.7c/reference/c-struct-client-term_name/) (attribute)
- [`client.term_ncaps`](/en/tmux/3.7c/reference/c-struct-client-term_ncaps/) (attribute)
- [`client.tty`](/en/tmux/3.7c/reference/c-struct-client-tty/) (attribute)
- [`client.ttyname`](/en/tmux/3.7c/reference/c-struct-client-ttyname/) (attribute)
