New upstream version 8.1.0
This commit is contained in:
26
fsck/source/database/ContDir.h
Normal file
26
fsck/source/database/ContDir.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef CONTDIR_H_
|
||||
#define CONTDIR_H_
|
||||
|
||||
#include <common/fsck/FsckContDir.h>
|
||||
#include <database/EntryID.h>
|
||||
|
||||
namespace db {
|
||||
|
||||
struct ContDir {
|
||||
EntryID id; /* 12 */
|
||||
uint32_t saveNodeID; /* 16 */
|
||||
uint32_t isBuddyMirrored:1; /* 20 */
|
||||
|
||||
typedef EntryID KeyType;
|
||||
|
||||
KeyType pkey() const { return id; }
|
||||
|
||||
operator FsckContDir() const
|
||||
{
|
||||
return FsckContDir(id.str(), NumNodeID(saveNodeID), isBuddyMirrored);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user