summaryrefslogtreecommitdiff
path: root/core/include/fs.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-06-06 11:09:42 +0100
committerMatt Fleming <matt.fleming@linux.intel.com>2011-06-06 11:09:42 +0100
commitef3cb76bffc52b40b9a013f5b16835e062a5db4b (patch)
tree873d1fd526d9fa5a8ca10dcaac114c1dae27fa5e /core/include/fs.h
parentba4fefa9b52b25ca1babd77066e21abef19518c2 (diff)
downloadsyslinux-ef3cb76bffc52b40b9a013f5b16835e062a5db4b.tar.gz
ldlinux: PATH-based module lookup
Add support for specifying directories to search when loading modules. A new config directive, "PATH", instructs the module loading code to search the directories listed in a colon-separated list when loading a module. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'core/include/fs.h')
-rw-r--r--core/include/fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/include/fs.h b/core/include/fs.h
index e9e4548f..04451ed0 100644
--- a/core/include/fs.h
+++ b/core/include/fs.h
@@ -178,6 +178,8 @@ static inline struct file *handle_to_file(uint16_t handle)
return handle ? &files[handle-1] : NULL;
}
+extern char *PATH;
+
/* fs.c */
void pm_mangle_name(com32sys_t *);
void pm_searchdir(com32sys_t *);