summaryrefslogtreecommitdiff
path: root/utility/mount-helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'utility/mount-helpers.h')
-rw-r--r--utility/mount-helpers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utility/mount-helpers.h b/utility/mount-helpers.h
index 66fb1026..19f6242f 100644
--- a/utility/mount-helpers.h
+++ b/utility/mount-helpers.h
@@ -18,11 +18,12 @@ uint8_t *hexify_string(char *string, uint8_t *binary, size_t length);
/* Loopback device attach/detach helpers. */
gchar *loop_attach(int fd, const char *name);
int loop_detach(const gchar *loopback);
+int loop_detach_name(const char *name);
/* Encrypted device mapper setup/teardown. */
int dm_setup(size_t sectors, const gchar *encryption_key, const char *name,
const gchar *device, const char *path);
-void dm_teardown(const gchar *device);
+int dm_teardown(const gchar *device);
char *dm_get_key(const gchar *device);
/* Sparse file creation. */