# cmdq_get

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L111
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd-queue-c-cmdq_get/

```c
static struct cmdq_list * cmdq_get(struct client *c)
```

## Parameters

- `c` (`struct client *`)

## Called by

- [`cmdq_append`](/en/tmux/latest/reference/c-function-cmdq_append/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L303)
- [`cmdq_next`](/en/tmux/latest/reference/c-function-cmdq_next/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L732)
- [`cmdq_running`](/en/tmux/latest/reference/c-function-cmdq_running/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L814)

## Calls

- [`cmdq_new`](/en/tmux/latest/reference/c-function-cmdq_new/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L117)

## Referenced declarations

- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`cmdq_list`](/en/tmux/latest/reference/c-struct-cmdq_list/) (struct)
- [`client.queue`](/en/tmux/latest/reference/c-struct-client-queue/) (attribute)
