forked from pool/cryptsetup
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From 557a4f778b227b63b7095e2910bb6911ed2b040c Mon Sep 17 00:00:00 2001
|
|
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
Date: Thu, 29 Nov 2007 10:35:19 +0100
|
|
Subject: [PATCH] cryptsetup: fix implicit function declarations
|
|
|
|
Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
---
|
|
lib/libcryptsetup.h | 3 ++-
|
|
luks/luks.h | 1 +
|
|
2 files changed, 3 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/lib/libcryptsetup.h b/lib/libcryptsetup.h
|
|
index fad14d1..e2db46a 100644
|
|
--- a/lib/libcryptsetup.h
|
|
+++ b/lib/libcryptsetup.h
|
|
@@ -53,7 +53,8 @@ int crypt_query_device(struct crypt_options *options);
|
|
int crypt_remove_device(struct crypt_options *options);
|
|
int crypt_luksFormat(struct crypt_options *options);
|
|
int crypt_luksOpen(struct crypt_options *options);
|
|
-int crypt_luksDelKey(struct crypt_options *options);
|
|
+int crypt_luksKillSlot(struct crypt_options *options);
|
|
+int crypt_luksRemoveKey(struct crypt_options *options);
|
|
int crypt_luksAddKey(struct crypt_options *options);
|
|
int crypt_luksUUID(struct crypt_options *options);
|
|
int crypt_isLuks(struct crypt_options *options);
|
|
diff --git a/luks/luks.h b/luks/luks.h
|
|
index ac9fe74..17f7b08 100644
|
|
--- a/luks/luks.h
|
|
+++ b/luks/luks.h
|
|
@@ -132,4 +132,5 @@ int LUKS_decrypt_from_storage(char *dst, size_t dstLength,
|
|
char *key, size_t keyLength,
|
|
const char *device,
|
|
unsigned int sector, struct setup_backend *backend);
|
|
+int LUKS_device_ready(const char *device, int mode);
|
|
#endif
|
|
--
|
|
1.5.3.4
|
|
|