CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AllocHeader Struct Reference

#include <kvstore.h>

Collaboration diagram for AllocHeader:

Public Member Functions

 AllocHeader ()
 

Public Attributes

uint8_t version
 
shash::Any id
 

Detailed Description

All objects in memory are prepended by an AllocHeader that allows the Key-Value store to find the pointer when the heap memory manager compacts the allocations.

Definition at line 29 of file kvstore.h.

Constructor & Destructor Documentation

AllocHeader::AllocHeader ( )
inline

Definition at line 30 of file kvstore.h.

Member Data Documentation

shash::Any AllocHeader::id

Definition at line 32 of file kvstore.h.

Referenced by MemoryKvStore::DoMalloc(), and MemoryKvStore::OnBlockMove().

uint8_t AllocHeader::version

Definition at line 31 of file kvstore.h.

Referenced by MemoryKvStore::OnBlockMove().


The documentation for this struct was generated from the following file: