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¶
variable Append¶
bool(* SolidSyslogBlockDevice::Append) (struct SolidSyslogBlockDevice *base, size_t blockIndex, const void *buf, size_t count);
variable Dispose¶
variable Exists¶
variable GetBlockSize¶
Fixed per-block capacity; read once at BlockStore construction.
variable Read¶
bool(* SolidSyslogBlockDevice::Read) (struct SolidSyslogBlockDevice *base, size_t blockIndex, size_t offset, void *buf, size_t count);
variable Size¶
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