summaryrefslogtreecommitdiff
path: root/extmod/vfs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-29 19:20:27 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-30 12:26:08 +1100
commitb697c890096805d9ccaf7553dbff5b82f5332609 (patch)
tree8d5ab2b4d16a7139189cb704b36e6ca957e1fb6a /extmod/vfs.h
parent9425bf5b2ba4a4b7f535c9e52add43fd1664802d (diff)
extmod: Merge old fsusermount.h header into vfs.h and vfs_fat.h.
vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat specific things.
Diffstat (limited to 'extmod/vfs.h')
-rw-r--r--extmod/vfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/extmod/vfs.h b/extmod/vfs.h
index 92e53b305..4a1c225a0 100644
--- a/extmod/vfs.h
+++ b/extmod/vfs.h
@@ -35,6 +35,13 @@
#define MP_VFS_NONE ((mp_vfs_mount_t*)1)
#define MP_VFS_ROOT ((mp_vfs_mount_t*)0)
+// constants for block protocol ioctl
+#define BP_IOCTL_INIT (1)
+#define BP_IOCTL_DEINIT (2)
+#define BP_IOCTL_SYNC (3)
+#define BP_IOCTL_SEC_COUNT (4)
+#define BP_IOCTL_SEC_SIZE (5)
+
typedef struct _mp_vfs_mount_t {
const char *str; // mount point with leading /
size_t len;