Skip to content

Struct SolidSyslogOriginSdConfig

ClassList > SolidSyslogOriginSdConfig

Wiring for the "origin" SD-ELEMENT (RFC 5424 §7.2). More...

  • #include <SolidSyslogOriginSd.h>

Public Attributes

Type Name
const char * EnterpriseId
NULL omits the enterpriseId PARAM.
SolidSyslogOriginIpAtFunction GetIpAt
SolidSyslogOriginIpCountFunction GetIpCount
Paired with GetIpAt; either NULL omits the ip PARAMs.
void * IpContext
Passed to GetIpAt unchanged.
const char * Software
NULL omits the software PARAM.
const char * SwVersion
NULL omits the swVersion PARAM.

Detailed Description

Every field is independently optional: a NULL string omits its PARAM, and the ip PARAMs are emitted only when both GetIpCount and GetIpAt are non-NULL. The string pointers are borrowed, not copied, and read at Format time, so they (and everything else provided) must outlive the created SD; the config struct itself is only read during Create.

Public Attributes Documentation

variable EnterpriseId

NULL omits the enterpriseId PARAM.

const char* SolidSyslogOriginSdConfig::EnterpriseId;


variable GetIpAt

SolidSyslogOriginIpAtFunction SolidSyslogOriginSdConfig::GetIpAt;

variable GetIpCount

Paired with GetIpAt; either NULL omits the ip PARAMs.

SolidSyslogOriginIpCountFunction SolidSyslogOriginSdConfig::GetIpCount;


variable IpContext

Passed to GetIpAt unchanged.

void* SolidSyslogOriginSdConfig::IpContext;


variable Software

NULL omits the software PARAM.

const char* SolidSyslogOriginSdConfig::Software;


variable SwVersion

NULL omits the swVersion PARAM.

const char* SolidSyslogOriginSdConfig::SwVersion;



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