xref: /vim-8.2.3635/src/proto/findfile.pro (revision b005cd80)
1/* 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);
6char_u *find_file_in_path(char_u *ptr, int len, int options, int first, char_u *rel_fname);
7void free_findfile(void);
8char_u *find_directory_in_path(char_u *ptr, int len, int options, char_u *rel_fname);
9char_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);
10char_u *grab_file_name(long count, linenr_T *file_lnum);
11char_u *file_name_at_cursor(int options, long count, linenr_T *file_lnum);
12char_u *file_name_in_line(char_u *line, int col, int options, long count, char_u *rel_fname, linenr_T *file_lnum);
13char_u *find_file_name_in_path(char_u *ptr, int len, int options, long count, char_u *rel_fname);
14int vim_ispathlistsep(int c);
15void uniquefy_paths(garray_T *gap, char_u *pattern);
16int expand_in_path(garray_T *gap, char_u *pattern, int flags);
17void simplify_filename(char_u *filename);
18void f_simplify(typval_T *argvars, typval_T *rettv);
19/* vim: set ft=c : */
20