# server_client_check_modes

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

```c
static void server_client_check_modes(struct client *)
```

## Parameters

- `c` (`struct client *`)

## Called by

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

## Referenced declarations

- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`CLIENT_CONTROL`](/en/tmux/latest/reference/c-define-tmux-h-client_control/) (constant)
- [`CLIENT_REDRAWSTATUS`](/en/tmux/latest/reference/c-define-tmux-h-client_redrawstatus/) (constant)
- [`CLIENT_SUSPENDED`](/en/tmux/latest/reference/c-define-tmux-h-client_suspended/) (constant)
- [`session.curw`](/en/tmux/latest/reference/c-struct-session-curw/) (attribute)
- [`window_mode_entry.entry`](/en/tmux/latest/reference/c-struct-window_mode_entry-entry/) (attribute)
- [`client.flags`](/en/tmux/latest/reference/c-struct-client-flags/) (attribute)
- [`window_mode_entry.mode`](/en/tmux/latest/reference/c-struct-window_mode_entry-mode/) (attribute)
- [`window_pane.modes`](/en/tmux/latest/reference/c-struct-window_pane-modes/) (attribute)
- [`window.panes`](/en/tmux/latest/reference/c-struct-window-panes/) (attribute)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`window_mode.update`](/en/tmux/latest/reference/c-struct-window_mode-update/) (attribute)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/latest/reference/c-struct-window_mode_entry-wp/) (attribute)
