libstorage-ng
Loading...
Searching...
No Matches
storage::ActivateCallbacksLuks Class Referenceabstract

Specialized callbacks with a more generic parameter for LUKS activation. More...

#include <Storage.h>

Inheritance diagram for storage::ActivateCallbacksLuks:
[legend]
Collaboration diagram for storage::ActivateCallbacksLuks:
[legend]

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.
Public Member Functions inherited from storage::ActivateCallbacks
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.
Public Member Functions inherited from storage::Callbacks
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.

Detailed Description

Specialized callbacks with a more generic parameter for LUKS activation.

Member Function Documentation

◆ luks()

virtual std::pair< bool, std::string > storage::ActivateCallbacksLuks::luks ( const LuksInfo & luks_info,
int attempt ) const
pure virtual

Decide whether the LUKS should be activated.

Parameter "info" contains all known information about the LUKS device.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/libstorage-ng-4.5.263-build/libstorage-ng-4.5.263/storage/Storage.h