diff options
author | Karel Zak | 2012-01-11 16:16:00 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-11 16:16:00 +0100 |
commit | 1a7a421ed74bc8502cdd9d1de46bc78c62b71b7d (patch) | |
tree | 1eb7fc58b8ec2f414246c52d0350fa7b04c01d51 /libmount/src/mountP.h | |
parent | losetup: add note about non-root users to losetup.8 (diff) | |
download | kernel-qcow2-util-linux-1a7a421ed74bc8502cdd9d1de46bc78c62b71b7d.tar.gz kernel-qcow2-util-linux-1a7a421ed74bc8502cdd9d1de46bc78c62b71b7d.tar.xz kernel-qcow2-util-linux-1a7a421ed74bc8502cdd9d1de46bc78c62b71b7d.zip |
libmount: add support for encrypted loopdevs
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r-- | libmount/src/mountP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h index c82a97999..fa0567877 100644 --- a/libmount/src/mountP.h +++ b/libmount/src/mountP.h @@ -276,6 +276,9 @@ struct libmnt_context int (*table_errcb)(struct libmnt_table *tb, /* callback for libmnt_table structs */ const char *filename, int line); + char *(*pwd_get_cb)(struct libmnt_context *); /* get encryption password */ + void (*pwd_release_cb)(struct libmnt_context *, char *); /* release password */ + int optsmode; /* fstab optstr mode MNT_OPTSMODE_{AUTO,FORCE,IGNORE} */ int loopdev_fd; /* open loopdev */ |