Skip to content
«interface»SolidSyslogStructuredDataMetaSdCore«interface»SolidSyslogAtomicCounter

Struct SolidSyslogMetaSdConfig

ClassList > SolidSyslogMetaSdConfig

  • #include <SolidSyslogMetaSd.h>
struct SolidSyslogMetaSdConfig
{
    struct SolidSyslogAtomicCounter* Counter;
    SolidSyslogSysUpTimeFunction GetSysUpTime;
    SolidSyslogSdValueFunction GetLanguage;
    void* LanguageContext;
};

Detailed Description

Wiring for the "meta" SD-ELEMENT (RFC 5424 §7.3).

Whatever is provided must outlive the created SD; the config is read only during Create.

Public Attributes Documentation

Counter

Required; each message consumes one Increment as the sequenceId PARAM.

struct SolidSyslogAtomicCounter* SolidSyslogMetaSdConfig::Counter;


GetLanguage

NULL omits the language PARAM.

SolidSyslogSdValueFunction SolidSyslogMetaSdConfig::GetLanguage;


GetSysUpTime

NULL omits the sysUpTime PARAM.

SolidSyslogSysUpTimeFunction SolidSyslogMetaSdConfig::GetSysUpTime;


LanguageContext

Passed to GetLanguage unchanged.

void* SolidSyslogMetaSdConfig::LanguageContext;



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