* Add --master-key-file option for luksFormat and luksAddKey.

Signed-off-by: Milan Broz <mbroz@redhat.com>

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@99 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
Milan Broz
2009-08-30 18:10:23 +00:00
parent 3deabc8e56
commit c878e56237
4 changed files with 129 additions and 16 deletions

View File

@@ -36,8 +36,6 @@
#define MAX_CIPHER_LEN 32
/* Helper funcions provided by internal libcryptsetup objects */
struct crypt_device;
void crypt_set_debug_level(int level);
void set_default_log(void (*log)(int class, char *msg));
void logger(struct crypt_device *cd, int class, const char *file, int line, const char *format, ...);
#define log_dbg(x...) logger(NULL, CRYPT_LOG_DEBUG, __FILE__, __LINE__, x)