# cmd_list_panes_server

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-panes.c#L77
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd-list-panes-c-cmd_list_panes_server/

```c
static void cmd_list_panes_server(struct cmd *, struct cmdq_item *)
```

## Parameters

- `self` (`struct cmd *`)
- `item` (`struct cmdq_item *`)

## Called by

- [`cmd_list_panes_exec`](/en/tmux/latest/reference/c-function-cmd-list-panes-c-cmd_list_panes_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-panes.c#L67)

## Calls

- [`cmd_list_panes_session`](/en/tmux/latest/reference/c-function-cmd-list-panes-c-cmd_list_panes_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-panes.c#L82)

## Referenced declarations

- [`cmd`](/en/tmux/latest/reference/c-struct-cmd/) (struct)
- [`cmdq_item`](/en/tmux/latest/reference/c-struct-cmdq_item/) (struct)
