# input_make_request

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3404
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-input-c-input_make_request/

```c
static struct input_request * input_make_request(struct input_ctx *, enum input_request_type)
```

## Parameters

- `ictx` (`struct input_ctx *`)
- `input_request_type` (`enum`)

## Called by

- [`input_add_request`](/en/tmux/latest/reference/c-function-input-c-input_add_request/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3465)
- [`input_reply`](/en/tmux/latest/reference/c-function-input-c-input_reply/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1164)

## Calls

- [`get_timer`](/en/tmux/latest/reference/c-function-get_timer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3411)
- [`input_start_request_timer`](/en/tmux/latest/reference/c-function-input-c-input_start_request_timer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3414)
- [`xcalloc`](/en/tmux/latest/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3408)

## Referenced declarations

- [`input_request.entry`](/en/tmux/latest/reference/c-struct-input_request-entry/) (attribute)
- [`input_request.ictx`](/en/tmux/latest/reference/c-struct-input_request-ictx/) (attribute)
- [`input_ctx`](/en/tmux/latest/reference/c-struct-input_ctx/) (struct)
- [`input_request`](/en/tmux/latest/reference/c-struct-input_request/) (struct)
- [`input_request_type`](/en/tmux/latest/reference/c-enum-input_request_type/) (enum)
- [`input_ctx.request_count`](/en/tmux/latest/reference/c-struct-input_ctx-request_count/) (attribute)
- [`input_ctx.requests`](/en/tmux/latest/reference/c-struct-input_ctx-requests/) (attribute)
- [`input_request.t`](/en/tmux/latest/reference/c-struct-input_request-t/) (attribute)
- [`input_request.type`](/en/tmux/latest/reference/c-struct-input_request-type/) (attribute)
