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

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

#include <Storage.h>

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

Public Member Functions

virtual void begin () const
 Called at the begin of activation.
virtual void end () const
 Called at the end of activation.
virtual std::pair< bool, std::string > bitlocker (const BitlockerInfo &bitlocker_info, int attempt) const =0
 Decide whether the BitLocker should be activated.
Public Member Functions inherited from storage::ActivateCallbacksLuks
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 Bitlocker activation.

Member Function Documentation

◆ bitlocker()

virtual std::pair< bool, std::string > storage::ActivateCallbacksV3::bitlocker ( const BitlockerInfo & bitlocker_info,
int attempt ) const
pure virtual

Decide whether the BitLocker should be activated.

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


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