# cmd_source_file_complete_cb

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-source-file.c#L64
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd-source-file-c-cmd_source_file_complete_cb/

```c
static enum cmd_retval cmd_source_file_complete_cb(struct cmdq_item *item, void *data)
```

## Parameters

- `item` (`struct cmdq_item *`)
- `data` (`void *`)

## Calls

- [`cfg_print_causes`](/en/tmux/3.7c/reference/c-function-cfg_print_causes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-source-file.c#L76)
- [`cmdq_get_client`](/en/tmux/3.7c/reference/c-function-cmdq_get_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-source-file.c#L66)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-source-file.c#L70)

## Referenced by

- [`cmd_source_file_complete`](/en/tmux/3.7c/reference/c-function-cmd-source-file-c-cmd_source_file_complete/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`CMD_RETURN_NORMAL`](/en/tmux/3.7c/reference/c-enum-cmd_retval-cmd_return_normal/) (constant)
- [`cmd_retval`](/en/tmux/3.7c/reference/c-enum-cmd_retval/) (enum)
- [`cmd_source_file_depth`](/en/tmux/3.7c/reference/c-variable-cmd-source-file-c-cmd_source_file_depth/) (attribute)
- [`cmdq_item`](/en/tmux/3.7c/reference/c-struct-cmdq_item/) (struct)
- [`client.source_file_depth`](/en/tmux/3.7c/reference/c-struct-client-source_file_depth/) (attribute)
