mirror of
https://github.com/neovim/neovim.git
synced 2025-11-11 21:08:53 +00:00
Extract file_search.c from misc2.c
Continue to split misc2.c in many other files (see #209). The only changed I made to the moved code was adding `vim_free(ff_expand_buffer)` to `free_finfile()`. This is was needed because `ff_expand_buffer` was moved from `misc2.c` to `file_search.c`.
This commit is contained in:
committed by
Thiago de Arruda
parent
007a19c497
commit
e18c075b70
23
src/file_search.h
Normal file
23
src/file_search.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef NEOVIM_FIND_FILE_H
|
||||
#define NEOVIM_FIND_FILE_H
|
||||
|
||||
void *vim_findfile_init __ARGS((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 __ARGS((char_u *buf));
|
||||
void vim_findfile_cleanup __ARGS((void *ctx));
|
||||
char_u *vim_findfile __ARGS((void *search_ctx_arg));
|
||||
void vim_findfile_free_visited __ARGS((void *search_ctx_arg));
|
||||
char_u *find_file_in_path __ARGS((char_u *ptr, int len, int options, int first,
|
||||
char_u *rel_fname));
|
||||
void free_findfile __ARGS((void));
|
||||
char_u *find_directory_in_path __ARGS((char_u *ptr, int len, int options,
|
||||
char_u *rel_fname));
|
||||
char_u *find_file_in_path_option __ARGS((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_FIND_FILE_H */
|
||||
Reference in New Issue
Block a user