"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/LUKS_Info.h" between
gparted-1.2.0.tar.gz and gparted-1.3.0.tar.gz

About: GParted is a graphical partition editor for creating, reorganizing, and deleting disk partitions (using GNU libparted).

LUKS_Info.h  (gparted-1.2.0):LUKS_Info.h  (gparted-1.3.0)
skipping to change at line 36 skipping to change at line 36
#include "BlockSpecial.h" #include "BlockSpecial.h"
#include "Utils.h" #include "Utils.h"
#include <glibmm/ustring.h> #include <glibmm/ustring.h>
#include <vector> #include <vector>
namespace GParted namespace GParted
{ {
enum KeyLocation
{
KEYLOC_DMCrypt = 0, // Master encryption key is stored in DeviceMapper c
rypt target
KEYLOC_KeyRing // Master encryption key was stored in kernel Key Ri
ng
};
struct LUKS_Mapping struct LUKS_Mapping
{ {
Glib::ustring name; // Name of the dm-crypt mapping Glib::ustring name; // Name of the dm-crypt mapping
BlockSpecial container; // Underlying block device containing the LUKS mapping BlockSpecial container; // Underlying block device containing the LUKS mapping
Byte_Value offset; // Offset to the start of the mapping in the un derlying block device Byte_Value offset; // Offset to the start of the mapping in the un derlying block device
Byte_Value length; // Length of the mapping in the underlying bloc k device Byte_Value length; // Length of the mapping in the underlying bloc k device
KeyLocation key_loc; // Location where the master encryption key is stored
}; };
class LUKS_Info class LUKS_Info
{ {
public: public:
static void clear_cache(); static void clear_cache();
static const LUKS_Mapping & get_cache_entry( const Glib::ustring & path ) ; static const LUKS_Mapping & get_cache_entry( const Glib::ustring & path ) ;
private: private:
static void initialise_if_required(); static void initialise_if_required();
 End of changes. 2 change blocks. 
0 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)