mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 12:20:00 +01:00
Add utilities cleanup routine.
This commit is contained in:
committed by
Milan Broz
parent
74c943c352
commit
4a43a2773a
@@ -116,6 +116,9 @@ int tools_wipe_all_signatures(const char *path);
|
||||
int tools_lookup_crypt_device(struct crypt_device *cd, const char *type,
|
||||
const char *data_device_path, char *name, size_t name_length);
|
||||
|
||||
/* each utility is required to implement it */
|
||||
void tools_cleanup(void);
|
||||
|
||||
/* Log */
|
||||
#define log_dbg(x...) clogger(NULL, CRYPT_LOG_DEBUG, __FILE__, __LINE__, x)
|
||||
#define log_std(x...) clogger(NULL, CRYPT_LOG_NORMAL, __FILE__, __LINE__, x)
|
||||
|
||||
Reference in New Issue
Block a user