Skip to content

Struct SolidSyslogBlockDevice

ClassList > SolidSyslogBlockDevice

The block-device extension point: an implementor fills this vtable and embeds it as the first member of its own struct, so base downcasts back to that struct.More...

  • #include <SolidSyslogBlockDeviceDefinition.h>

Public Attributes

Type Name
bool(* Acquire
bool(* Append
bool(* Dispose
bool(* Exists
size_t(* GetBlockSize
Fixed per-block capacity; read once at BlockStore construction.
bool(* Read
size_t(* Size
bool(* WriteAt

Detailed Description

Each method's contract is the matching SolidSyslogBlockDevice_* wrapper in SolidSyslogBlockDevice.h. SolidSyslogNullBlockDevice is the "no disk" implementation: every method returns false / 0.

Public Attributes Documentation

variable Acquire

bool(* SolidSyslogBlockDevice::Acquire) (struct SolidSyslogBlockDevice *base, size_t blockIndex);

variable Append

bool(* SolidSyslogBlockDevice::Append) (struct SolidSyslogBlockDevice *base, size_t blockIndex, const void *buf, size_t count);

variable Dispose

bool(* SolidSyslogBlockDevice::Dispose) (struct SolidSyslogBlockDevice *base, size_t blockIndex);

variable Exists

bool(* SolidSyslogBlockDevice::Exists) (struct SolidSyslogBlockDevice *base, size_t blockIndex);

variable GetBlockSize

Fixed per-block capacity; read once at BlockStore construction.

size_t(* SolidSyslogBlockDevice::GetBlockSize) (struct SolidSyslogBlockDevice *base);


variable Read

bool(* SolidSyslogBlockDevice::Read) (struct SolidSyslogBlockDevice *base, size_t blockIndex, size_t offset, void *buf, size_t count);

variable Size

size_t(* SolidSyslogBlockDevice::Size) (struct SolidSyslogBlockDevice *base, size_t blockIndex);

variable WriteAt

bool(* SolidSyslogBlockDevice::WriteAt) (struct SolidSyslogBlockDevice *base, size_t blockIndex, size_t offset, const void *buf, size_t count);


The documentation for this class was generated from the following file Core/Interface/SolidSyslogBlockDeviceDefinition.h