Mercurial > vim
comparison src/proto/misc2.pro @ 15814:99ebf78686a9 v8.1.0914
patch 8.1.0914: code related to findfile() is spread out
commit https://github.com/vim/vim/commit/5fd0f5052f9a312bb4cfe7b4176b1211d45127ee
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 13 23:13:28 2019 +0100
patch 8.1.0914: code related to findfile() is spread out
Problem: Code related to findfile() is spread out.
Solution: Put findfile() related code into a new source file. (Yegappan
Lakshmanan, closes #3934)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 13 Feb 2019 23:15:05 +0100 |
parents | 55ccc2d353bd |
children | 7ae2396cef62 |
comparison
equal
deleted
inserted
replaced
15813:ad21b64216aa | 15814:99ebf78686a9 |
---|---|
88 int vim_chdirfile(char_u *fname, char *trigger_autocmd); | 88 int vim_chdirfile(char_u *fname, char *trigger_autocmd); |
89 int vim_stat(const char *name, stat_T *stp); | 89 int vim_stat(const char *name, stat_T *stp); |
90 char *parse_shape_opt(int what); | 90 char *parse_shape_opt(int what); |
91 int get_shape_idx(int mouse); | 91 int get_shape_idx(int mouse); |
92 void update_mouseshape(int shape_idx); | 92 void update_mouseshape(int shape_idx); |
93 void *vim_findfile_init(char_u *path, char_u *filename, char_u *stopdirs, int level, int free_visited, int find_what, void *search_ctx_arg, int tagfile, char_u *rel_fname); | |
94 char_u *vim_findfile_stopdir(char_u *buf); | |
95 void vim_findfile_cleanup(void *ctx); | |
96 char_u *vim_findfile(void *search_ctx_arg); | |
97 void vim_findfile_free_visited(void *search_ctx_arg); | |
98 char_u *find_file_in_path(char_u *ptr, int len, int options, int first, char_u *rel_fname); | |
99 char_u *find_directory_in_path(char_u *ptr, int len, int options, char_u *rel_fname); | |
100 char_u *find_file_in_path_option(char_u *ptr, int len, int options, int first, char_u *path_option, int find_what, char_u *rel_fname, char_u *suffixes); | |
101 int vim_chdir(char_u *new_dir); | 93 int vim_chdir(char_u *new_dir); |
102 int get_user_name(char_u *buf, int len); | 94 int get_user_name(char_u *buf, int len); |
103 void sort_strings(char_u **files, int count); | 95 void sort_strings(char_u **files, int count); |
104 int pathcmp(const char *p, const char *q, int maxlen); | 96 int pathcmp(const char *p, const char *q, int maxlen); |
105 int filewritable(char_u *fname); | 97 int filewritable(char_u *fname); |