summaryrefslogtreecommitdiff
path: root/file/file.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-06 17:49:32 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-06 23:58:14 -0300
commitaf5cb056e5c2162aef6b868f6b86cf6e711fdc40 (patch)
treed1350596a48e75699baf150b706b474d11e9369a /file/file.h
parent6dbc788e8c015a6d63848d00f7a241518dc39210 (diff)
downloadeeshow-af5cb056e5c2162aef6b868f6b86cf6e711fdc40.tar.gz
eeshow-af5cb056e5c2162aef6b868f6b86cf6e711fdc40.tar.bz2
eeshow-af5cb056e5c2162aef6b868f6b86cf6e711fdc40.zip
file/file.c (file_search): apply file_open to a search path
Diffstat (limited to 'file/file.h')
-rw-r--r--file/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/file/file.h b/file/file.h
index 44d12cc..ff7ea65 100644
--- a/file/file.h
+++ b/file/file.h
@@ -36,6 +36,8 @@ char *file_graft_relative(const char *base, const char *name);
bool file_open_vcs(struct file *file, const char *name);
bool file_open(struct file *file, const char *name,
const struct file *related);
+bool file_search(struct file *file, const char *name,
+ const char **search, unsigned n_search, const struct file *related);
bool file_open_revision(struct file *file, const char *rev, const char *name,
const struct file *related);
bool file_read(struct file *file,