# tmuxpeer.dispatchcb

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/proc.c#L63
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-struct-tmuxpeer-dispatchcb/

```c
void(*dispatchcb)(struct imsg *, void *);
```

## Referenced by

- [`proc_add_peer`](/en/tmux/3.2a/reference/c-function-proc_add_peer/) (function)
- [`proc_event_cb`](/en/tmux/3.2a/reference/c-function-proc-c-proc_event_cb/) (function)
