1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | FileComparison path_full_compare(char_u *const s1, char_u *const s2, const _Bool checkname); |
7 | char_u *path_tail(const char_u *fname) FUNC_ATTR_NONNULL_RET; |
8 | char_u *path_tail_with_sep(char_u *fname); |
9 | const char_u *invocation_path_tail(const char_u *invocation, size_t *len) FUNC_ATTR_NONNULL_RET FUNC_ATTR_NONNULL_ARG(1); |
10 | const char *path_next_component(const char *fname); |
11 | char_u *get_past_head(const char_u *path); |
12 | int vim_ispathsep(int c); |
13 | int vim_ispathsep_nocolon(int c); |
14 | int vim_ispathlistsep(int c); |
15 | char_u *shorten_dir(char_u *str); |
16 | _Bool dir_of_file_exists(char_u *fname); |
17 | int path_fnamecmp(const char *fname1, const char *fname2) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT; |
18 | int path_fnamencmp(const char *const fname1, const char *const fname2, size_t len) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT; |
19 | char *concat_fnames(const char *fname1, const char *fname2, _Bool sep) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_NONNULL_RET; |
20 | char *concat_fnames_realloc(char *fname1, const char *fname2, _Bool sep) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_NONNULL_RET; |
21 | _Bool add_pathsep(char *p) FUNC_ATTR_NONNULL_ALL; |
22 | char *FullName_save(const char *fname, _Bool force) FUNC_ATTR_MALLOC; |
23 | char *save_abs_path(const char *name) FUNC_ATTR_MALLOC FUNC_ATTR_NONNULL_ALL; |
24 | _Bool path_has_wildcard(const char_u *p) FUNC_ATTR_NONNULL_ALL; |
25 | _Bool path_has_exp_wildcard(const char_u *p) FUNC_ATTR_NONNULL_ALL; |
26 | const char *gettail_dir(const char *const fname) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL; |
27 | int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags); |
28 | void addfile(garray_T *gap, char_u *f, int flags ); |
29 | void simplify_filename(char_u *filename); |
30 | char_u *find_file_name_in_path(char_u *ptr, size_t len, int options, long count, char_u *rel_fname ); |
31 | int path_is_url(const char *p); |
32 | int path_with_url(const char *fname); |
33 | _Bool vim_isAbsName(char_u *name); |
34 | int vim_FullName(const char *fname, char *buf, size_t len, _Bool force) FUNC_ATTR_NONNULL_ARG(2); |
35 | char *fix_fname(const char *fname); |
36 | void path_fix_case(char_u *name) FUNC_ATTR_NONNULL_ALL; |
37 | int after_pathsep(const char *b, const char *p); |
38 | _Bool same_directory(char_u *f1, char_u *f2); |
39 | int pathcmp(const char *p, const char *q, int maxlen); |
40 | char_u *path_try_shorten_fname(char_u *full_path); |
41 | char_u *path_shorten_fname(char_u *full_path, char_u *dir_name); |
42 | int expand_wildcards_eval(char_u **pat, int *num_file, char_u ***file, int flags); |
43 | int expand_wildcards(int num_pat, char_u **pat, int *num_files, char_u ***files, int flags); |
44 | int match_suffix(char_u *fname); |
45 | int path_full_dir_name(char *directory, char *buffer, size_t len); |
46 | int append_path(char *path, const char *to_append, size_t max_len); |
47 | int path_is_absolute(const char_u *fname); |
48 | void path_guess_exepath(const char *argv0, char *buf, size_t bufsize) FUNC_ATTR_NONNULL_ALL; |
49 | #include "nvim/func_attr.h" |
50 | |