aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/file_search.h
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-05-12 02:25:17 +0200
committerEliseo Martínez <eliseomarmol@gmail.com>2014-05-15 20:46:01 +0200
commitda51dc9cf202772f60bd2da975dbef257bd9237c (patch)
tree5c16b93238a153f55634e9323077f30c8133970c /src/nvim/file_search.h
parentffe61e5ba1721340ca51d56bae3ddaca415fb5bc (diff)
downloadrneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.gz
rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.bz2
rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.zip
Introduce nvim namespace: Move files.
Move files from src/ to src/nvim/. - src/nvim/ becomes the new root dir for nvim executable sources. - src/libnvim/ is planned to become root dir of the neovim library.
Diffstat (limited to 'src/nvim/file_search.h')
-rw-r--r--src/nvim/file_search.h23
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 */