libstorage-ng
|
Specialized callbacks with a more generic parameter for LUKS activation. More...
#include <Storage.h>
Public Member Functions | |
virtual std::pair< bool, std::string > | luks (const LuksInfo &luks_info, int attempt) const =0 |
Decide whether the LUKS should be activated. | |
![]() | |
virtual bool | multipath (bool looks_like_real_multipath) const =0 |
Decide whether multipath should be activated. | |
virtual std::pair< bool, std::string > | luks (const std::string &uuid, int attempt) const =0 |
Decide whether the LUKS with uuid should be activated. | |
![]() | |
virtual void | message (const std::string &message) const =0 |
Callback for progress messages. | |
virtual bool | error (const std::string &message, const std::string &what) const =0 |
Callback for errors. | |
Specialized callbacks with a more generic parameter for LUKS activation.
|
pure virtual |
Decide whether the LUKS should be activated.
Parameter "info" contains all known information about the LUKS device.