# tmuxpeer.dispatchcb

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/proc.c#L68
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-struct-tmuxpeer-dispatchcb/

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

## Referenced by

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