diff options
Diffstat (limited to 'src/nvim/file_search.h')
-rw-r--r-- | src/nvim/file_search.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/nvim/file_search.h b/src/nvim/file_search.h new file mode 100644 index 0000000000..13c09a122d --- /dev/null +++ b/src/nvim/file_search.h @@ -0,0 +1,23 @@ +#ifndef NEOVIM_FILE_SEARCH_H +#define NEOVIM_FILE_SEARCH_H + +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); +char_u *vim_findfile_stopdir(char_u *buf); +void vim_findfile_cleanup(void *ctx); +char_u *vim_findfile(void *search_ctx_arg); +void vim_findfile_free_visited(void *search_ctx_arg); +char_u *find_file_in_path(char_u *ptr, int len, int options, int first, + char_u *rel_fname); +void free_findfile(void); +char_u *find_directory_in_path(char_u *ptr, int len, int options, + char_u *rel_fname); +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); + +#endif /* NEOVIM_FILE_SEARCH_H */ |