diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-06-17 11:57:29 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-06-17 11:57:29 +0100 |
commit | a0bb1928c8652aada30243089c53754ddd9b99df (patch) | |
tree | 5fd177bf495f80b51d323a7d7ebf76e8650e65c4 /core/include/fs.h | |
parent | 97bff28959e9deed6b78dd7df974797476683006 (diff) | |
parent | 022cdd1d56512e8759e8374c10a7420201db93c0 (diff) | |
download | syslinux-a0bb1928c8652aada30243089c53754ddd9b99df.tar.gz |
Merge tag 'syslinux-5.11-pre2' into firmware
syslinux-5.11-pre2
Conflicts:
core/elflink/load_env32.c
version
Diffstat (limited to 'core/include/fs.h')
-rw-r--r-- | core/include/fs.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/core/include/fs.h b/core/include/fs.h index b4519cee..31ef3157 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -1,6 +1,7 @@ #ifndef FS_H #define FS_H +#include <linux/list.h> #include <stddef.h> #include <stdbool.h> #include <string.h> @@ -182,7 +183,14 @@ static inline struct file *handle_to_file(uint16_t handle) return handle ? &files[handle-1] : NULL; } -extern char *PATH; +struct path_entry { + struct list_head list; + const char *str; +}; + +extern struct list_head PATH; + +extern struct path_entry *path_add(const char *str); /* fs.c */ void fs_init(const struct fs_ops **ops, void *priv); |