blob: 5b80b83c695a997a2cb28dfb3474b0e6afb8720e [file] [log] [blame]
Bram Moolenaar5fd0f502019-02-13 23:13:28 +01001/* findfile.c */
2void *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);
3char_u *vim_findfile_stopdir(char_u *buf);
4void vim_findfile_cleanup(void *ctx);
5char_u *vim_findfile(void *search_ctx_arg);
6void vim_findfile_free_visited(void *search_ctx_arg);
7char_u *find_file_in_path(char_u *ptr, int len, int options, int first, char_u *rel_fname);
8void free_findfile(void);
9char_u *find_directory_in_path(char_u *ptr, int len, int options, char_u *rel_fname);
10char_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);
11char_u *grab_file_name(long count, linenr_T *file_lnum);
12char_u *file_name_at_cursor(int options, long count, linenr_T *file_lnum);
13char_u *file_name_in_line(char_u *line, int col, int options, long count, char_u *rel_fname, linenr_T *file_lnum);
14char_u *find_file_name_in_path(char_u *ptr, int len, int options, long count, char_u *rel_fname);
15int vim_ispathlistsep(int c);
16void uniquefy_paths(garray_T *gap, char_u *pattern);
17int expand_in_path(garray_T *gap, char_u *pattern, int flags);
18/* vim: set ft=c : */