summaryrefslogtreecommitdiff
path: root/include/sandboxblockdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sandboxblockdev.h')
-rw-r--r--include/sandboxblockdev.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/sandboxblockdev.h b/include/sandboxblockdev.h
index c1f0afb337..4006e942a0 100644
--- a/include/sandboxblockdev.h
+++ b/include/sandboxblockdev.h
@@ -14,6 +14,13 @@ struct host_block_dev {
int fd;
};
-int host_dev_bind(int dev, char *filename);
+/**
+ * host_dev_bind() - Bind or unbind a device
+ *
+ * @dev: Device number (0=first slot)
+ * @filename: Host filename to use, or NULL to unbind
+ * @removable: true if the block device should mark itself as removable
+ */
+int host_dev_bind(int dev, char *filename, bool removable);
#endif