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.
variable GetIpAt¶
variable GetIpCount¶
Paired with GetIpAt; either NULL omits the ip PARAMs.
variable IpContext¶
Passed to GetIpAt unchanged.
variable Software¶
NULL omits the software PARAM.
variable SwVersion¶
NULL omits the swVersion PARAM.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogOriginSd.h