1#ifndef DEFINE_FUNC_ATTRIBUTES
2# define DEFINE_FUNC_ATTRIBUTES
3#endif
4#include "nvim/func_attr.h"
5#undef DEFINE_FUNC_ATTRIBUTES
6char_u *getcmdline(int firstc, long count, int indent );
7char *getcmdline_prompt(const char firstc, const char *const prompt, const int attr, const int xp_context, const char *const xp_arg, const Callback highlight_callback) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_MALLOC;
8int text_locked(void);
9void text_locked_msg(void);
10char_u *get_text_locked_msg(void);
11int curbuf_locked(void);
12int allbuf_locked(void);
13char_u *getexline(int c, void *cookie, int indent );
14char_u *getexmodeline(int promptc, void *cookie, int indent );
15_Bool cmdline_overstrike(void);
16_Bool cmdline_at_end(void);
17void ui_ext_cmdline_block_append(size_t indent, const char *line);
18void ui_ext_cmdline_block_leave(void);
19void cmdline_screen_cleared(void);
20void cmdline_ui_flush(void);
21void putcmdline(char c, int shift);
22void unputcmdline(void);
23void put_on_cmdline(char_u *str, int len, int redraw);
24char_u *save_cmdline_alloc(void);
25void restore_cmdline_alloc(char_u *p);
26void cmdline_paste_str(char_u *s, int literally);
27void redrawcmdline(void);
28void redrawcmd(void);
29void compute_cmdrow(void);
30void gotocmdline(int clr);
31char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode );
32void ExpandInit(expand_T *xp);
33void ExpandCleanup(expand_T *xp);
34void ExpandEscape(expand_T *xp, char_u *str, int numfiles, char_u **files, int options);
35char *vim_strsave_fnameescape(const char *const fname, const _Bool shell) FUNC_ATTR_NONNULL_RET FUNC_ATTR_MALLOC FUNC_ATTR_NONNULL_ALL;
36void tilde_replace(char_u *orig_pat, int num_files, char_u **files);
37void cmdline_pum_display(_Bool changed_array);
38char_u *sm_gettail(char_u *s, _Bool eager);
39char_u *addstar(char_u *fname, size_t len, int context) FUNC_ATTR_NONNULL_RET;
40void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline );
41int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches );
42void ExpandGeneric(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, CompleteListItemGetter func, int escaped );
43void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options);
44void init_history(void);
45HistoryType get_histtype(const char *const name, const size_t len, const _Bool return_default) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT;
46void add_to_history(int histype, char_u *new_entry, int in_map, int sep );
47int get_history_idx(int histype);
48char_u *get_cmdline_str(void);
49int get_cmdline_pos(void);
50int set_cmdline_pos(int pos);
51int get_cmdline_type(void);
52char_u *get_history_entry(int histype, int idx);
53int clr_history(const int histype);
54int del_history_entry(int histype, char_u *str);
55int del_history_idx(int histype, int idx);
56int get_list_range(char_u **str, int *num1, int *num2);
57void ex_history(exarg_T *eap);
58int hist_type2char(int type) FUNC_ATTR_CONST;
59char *script_get(exarg_T *const eap, size_t *const lenp) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_MALLOC;
60const void *hist_iter(const void *const iter, const uint8_t history_type, const _Bool zero, histentry_T *const hist) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ARG(4);
61histentry_T *hist_get_array(const uint8_t history_type, int **const new_hisidx, int **const new_hisnum) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL;
62#include "nvim/func_attr.h"
63