aboutsummaryrefslogtreecommitdiff
path: root/extmod/fsusermount.h
diff options
context:
space:
mode:
authorDamien George2016-02-10 23:36:19 +0000
committerDamien George2016-02-10 23:40:35 +0000
commite372e83b3042cb48fbe5706522d92f7aa5404ae6 (patch)
tree90e7789e6602681fc1fb3026b9b0f956f24ed64e /extmod/fsusermount.h
parentb33a7705966a743c5e4c0c3c3bb83e6d97b5e84d (diff)
extmod/fsusermount: Move BP_IOCTL_xxx constants to fsusermount.h.
Diffstat (limited to 'extmod/fsusermount.h')
-rw-r--r--extmod/fsusermount.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/extmod/fsusermount.h b/extmod/fsusermount.h
index 3dcd03591..9e0d74e79 100644
--- a/extmod/fsusermount.h
+++ b/extmod/fsusermount.h
@@ -29,6 +29,13 @@
#define FSUSER_FREE_OBJ (0x0002) // fs_user_mount_t obj should be freed on umount
#define FSUSER_HAVE_IOCTL (0x0004) // new protocol with ioctl
+// 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 _fs_user_mount_t {
const char *str;
uint16_t len; // length of str