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