Struct SolidSyslogBlockStoreConfig¶
ClassList > SolidSyslogBlockStoreConfig
Wiring for SolidSyslogBlockStore_Create. More...
#include <SolidSyslogBlockStore.h>
Public Attributes¶
| Type | Name |
|---|---|
| struct SolidSyslogBlockDevice * | BlockDevice Required; block store is the sole writer. |
| enum SolidSyslogDiscardPolicy | DiscardPolicy |
| SolidSyslogStoreThresholdFunction | GetCapacityThreshold |
| size_t | MaxBlocks Retention ceiling in blocks; DiscardPolicy governs the overflow. |
| SolidSyslogStoreFullCallback | OnStoreFull |
| SolidSyslogStoreThresholdCallback | OnThresholdCrossed |
| struct SolidSyslogSecurityPolicy * | SecurityPolicy NULL means no per-record integrity trailer. |
| void * | StoreFullContext |
| void * | ThresholdContext Shared by GetCapacityThreshold and OnThresholdCrossed. |
Detailed Description¶
The threshold function and callback are only active when both are set; each callback's context is passed back unchanged. Every injected object is caller-owned and must outlive the store; Destroy releases only the store's own slot.
Public Attributes Documentation¶
variable BlockDevice¶
Required; block store is the sole writer.
variable DiscardPolicy¶
variable GetCapacityThreshold¶
variable MaxBlocks¶
Retention ceiling in blocks; DiscardPolicy governs the overflow.
variable OnStoreFull¶
variable OnThresholdCrossed¶
variable SecurityPolicy¶
NULL means no per-record integrity trailer.
variable StoreFullContext¶
variable ThresholdContext¶
Shared by GetCapacityThreshold and OnThresholdCrossed.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogBlockStore.h