Remove last error handling (error is logged).

This commit is contained in:
Milan Broz
2015-08-31 14:20:16 +02:00
parent 002ba59ff1
commit 9cbe74c2db
4 changed files with 16 additions and 93 deletions

View File

@@ -1084,28 +1084,6 @@ int crypt_header_restore(struct crypt_device *cd,
const char *requested_type,
const char *backup_file);
/**
* Receive last reported error, DEPRECATED.
*
* @param cd crypt device handle
* @param buf buffef for message
* @param size size of buffer
*
* @note This function is DEPRECATED and will be removed in future versions.
* @note All error messages are reported also through log callback.
*/
void crypt_last_error(struct crypt_device *cd, char *buf, size_t size);
/**
* Receives last reported error, DEPRECATED
*
* @param buf buffef for message
* @param size size of buffer
*
* @note This function is DEPRECATED and will be removed in future versions.
*/
void crypt_get_error(char *buf, size_t size);
/**
* Get directory where mapped crypt devices are created
*