# server_client_reset_state

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

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

## Parameters

- `c` (`struct client *`)

## Called by

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

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1694)
- [`options_get_number`](/en/tmux/3.2a/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1724)
- [`server_client_get_pane`](/en/tmux/3.2a/reference/c-function-server_client_get_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1673)
- [`status_at_line`](/en/tmux/3.2a/reference/c-function-status_at_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1711)
- [`status_line_size`](/en/tmux/3.2a/reference/c-function-status_line_size/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1712)
- [`tty_cursor`](/en/tmux/3.2a/reference/c-function-tty_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1718)
- [`tty_margin_off`](/en/tmux/3.2a/reference/c-function-tty_margin_off/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1698)
- [`tty_region_off`](/en/tmux/3.2a/reference/c-function-tty_region_off/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1697)
- [`tty_reset`](/en/tmux/3.2a/reference/c-function-tty_reset/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1742)
- [`tty_sync_end`](/en/tmux/3.2a/reference/c-function-tty_sync_end/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1745)
- [`tty_update_mode`](/en/tmux/3.2a/reference/c-function-tty_update_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1741)
- [`tty_window_offset`](/en/tmux/3.2a/reference/c-function-tty_window_offset/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L1703)

## Referenced declarations

- [`ALL_MOUSE_MODES`](/en/tmux/3.2a/reference/c-define-tmux-h-all_mouse_modes/) (constant)
- [`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_SUSPENDED`](/en/tmux/3.2a/reference/c-define-tmux-h-client_suspended/) (constant)
- [`session.curw`](/en/tmux/3.2a/reference/c-struct-session-curw/) (attribute)
- [`screen.cx`](/en/tmux/3.2a/reference/c-struct-screen-cx/) (attribute)
- [`screen.cy`](/en/tmux/3.2a/reference/c-struct-screen-cy/) (attribute)
- [`client.flags`](/en/tmux/3.2a/reference/c-struct-client-flags/) (attribute)
- [`tty.flags`](/en/tmux/3.2a/reference/c-struct-tty-flags/) (attribute)
- [`screen.mode`](/en/tmux/3.2a/reference/c-struct-screen-mode/) (attribute)
- [`MODE_BRACKETPASTE`](/en/tmux/3.2a/reference/c-define-tmux-h-mode_bracketpaste/) (constant)
- [`MODE_CURSOR`](/en/tmux/3.2a/reference/c-define-tmux-h-mode_cursor/) (constant)
- [`MODE_MOUSE_ALL`](/en/tmux/3.2a/reference/c-define-tmux-h-mode_mouse_all/) (constant)
- [`MODE_MOUSE_BUTTON`](/en/tmux/3.2a/reference/c-define-tmux-h-mode_mouse_button/) (constant)
- [`client.name`](/en/tmux/3.2a/reference/c-struct-client-name/) (attribute)
- [`session.options`](/en/tmux/3.2a/reference/c-struct-session-options/) (attribute)
- [`client.overlay_draw`](/en/tmux/3.2a/reference/c-struct-client-overlay_draw/) (attribute)
- [`client.overlay_mode`](/en/tmux/3.2a/reference/c-struct-client-overlay_mode/) (attribute)
- [`window.panes`](/en/tmux/3.2a/reference/c-struct-window-panes/) (attribute)
- [`client.prompt_string`](/en/tmux/3.2a/reference/c-struct-client-prompt_string/) (attribute)
- [`window_pane.screen`](/en/tmux/3.2a/reference/c-struct-window_pane-screen/) (attribute)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
- [`client.tty`](/en/tmux/3.2a/reference/c-struct-client-tty/) (attribute)
- [`TTY_BLOCK`](/en/tmux/3.2a/reference/c-define-tmux-h-tty_block/) (constant)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-window/) (attribute)
- [`window_pane.xoff`](/en/tmux/3.2a/reference/c-struct-window_pane-xoff/) (attribute)
- [`window_pane.yoff`](/en/tmux/3.2a/reference/c-struct-window_pane-yoff/) (attribute)
