aboutsummaryrefslogtreecommitdiff
path: root/extmod/vfs_fat.h
diff options
context:
space:
mode:
authorDamien George2017-01-27 17:17:54 +1100
committerDamien George2017-01-27 17:21:45 +1100
commit6c23c7587f1c02f58e9246ec59fe4f6544728b50 (patch)
tree14ab47dccc6e572fbe53f7b460d01d892c4daf53 /extmod/vfs_fat.h
parentfb3ae1784e1905709f82aadb7f1c8994682f9759 (diff)
extmod/vfs: Add ability for VFS sub-system to import using VfsFat.
Diffstat (limited to 'extmod/vfs_fat.h')
-rw-r--r--extmod/vfs_fat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extmod/vfs_fat.h b/extmod/vfs_fat.h
index 52674eb6e..1ea8a9637 100644
--- a/extmod/vfs_fat.h
+++ b/extmod/vfs_fat.h
@@ -24,6 +24,8 @@
* THE SOFTWARE.
*/
+#include "py/lexer.h"
+
struct _fs_user_mount_t;
extern const byte fresult_to_errno_table[20];
@@ -31,6 +33,7 @@ extern const mp_obj_type_t mp_fat_vfs_type;
struct _fs_user_mount_t *ff_get_vfs(const char **path);
+mp_import_stat_t fat_vfs_import_stat(struct _fs_user_mount_t *vfs, const char *path);
mp_obj_t fatfs_builtin_open(mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kwargs);
mp_obj_t fatfs_builtin_open_self(mp_obj_t self_in, mp_obj_t path, mp_obj_t mode);
MP_DECLARE_CONST_FUN_OBJ_KW(mp_builtin_open_obj);