Struct SolidSyslogResolver¶
ClassList > SolidSyslogResolver
#include <SolidSyslogResolverDefinition.h>
struct SolidSyslogResolver
{
bool (*Resolve)(
struct SolidSyslogResolver* base,
enum SolidSyslogTransport transport,
const char* host,
uint16_t port,
struct SolidSyslogAddress* result
);
};
Detailed Description¶
Extension point for resolving a destination host to a platform address.
Implementors write result (caller-owned SolidSyslogAddress storage, downcast to the platform's concrete address) only on a true return, and return false on any failure so the caller's unresolved-host path runs. Honouring transport and host is best-effort: a fixed-destination resolver may ignore either. A lookup that touches the network may block.
Public Attributes Documentation¶
Resolve¶
bool(* SolidSyslogResolver::Resolve) (struct SolidSyslogResolver *base, enum SolidSyslogTransport transport, const char *host, uint16_t port, struct SolidSyslogAddress *result);
The documentation for this class was generated from the following file Core/Interface/SolidSyslogResolverDefinition.h