# window_pane_read_callback

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

```c
static void window_pane_read_callback(struct bufferevent *bufev, void *data)
```

## Parameters

- `bufev` (`struct bufferevent *`)
- `data` (`void *`)

## Calls

- [`control_write_output`](/en/tmux/3.2a/reference/c-function-control_write_output/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L955)
- [`input_parse_pane`](/en/tmux/3.2a/reference/c-function-input_parse_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L957)
- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L952)
- [`window_pane_get_new_data`](/en/tmux/3.2a/reference/c-function-window_pane_get_new_data/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L945)
- [`window_pane_update_used_data`](/en/tmux/3.2a/reference/c-function-window_pane_update_used_data/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L948)

## Referenced by

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

## Referenced declarations

- [`__unused`](/en/tmux/3.2a/reference/c-define-compat-h-__unused/) (constant)
- [`CLIENT_CONTROL`](/en/tmux/3.2a/reference/c-define-tmux-h-client_control/) (constant)
- [`client.entry`](/en/tmux/3.2a/reference/c-struct-client-entry/) (attribute)
- [`window_pane.event`](/en/tmux/3.2a/reference/c-struct-window_pane-event/) (attribute)
- [`client.flags`](/en/tmux/3.2a/reference/c-struct-client-flags/) (attribute)
- [`window_pane.id`](/en/tmux/3.2a/reference/c-struct-window_pane-id/) (attribute)
- [`window_pane.pipe_event`](/en/tmux/3.2a/reference/c-struct-window_pane-pipe_event/) (attribute)
- [`window_pane.pipe_fd`](/en/tmux/3.2a/reference/c-struct-window_pane-pipe_fd/) (attribute)
- [`window_pane.pipe_offset`](/en/tmux/3.2a/reference/c-struct-window_pane-pipe_offset/) (attribute)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
