Skip to content

File SolidSyslogGetAddrInfoResolver.h

FileList > Interface > SolidSyslogGetAddrInfoResolver.h

Go to the source code of this file

A blocking DNS resolver over POSIX getaddrinfo. More...

  • #include "ExternC.h"

Public Functions

Type Name
struct SolidSyslogResolver * SolidSyslogGetAddrInfoResolver_Create (void)
Create takes no config; an exhausted pool falls back to the shared NullResolver.
void SolidSyslogGetAddrInfoResolver_Destroy (struct SolidSyslogResolver * base)
Release the pool slot.

Detailed Description

Resolve looks up the endpoint host as an IPv4 address (AF_INET) through a synchronous getaddrinfo call and writes it into the destination SolidSyslogAddress; the requested transport selects the socktype hint. A failed lookup returns false, so the caller's unresolved-host error path runs.

Public Functions Documentation

function SolidSyslogGetAddrInfoResolver_Create

Create takes no config; an exhausted pool falls back to the shared NullResolver.

struct SolidSyslogResolver * SolidSyslogGetAddrInfoResolver_Create (
    void
) 


function SolidSyslogGetAddrInfoResolver_Destroy

Release the pool slot.

void SolidSyslogGetAddrInfoResolver_Destroy (
    struct SolidSyslogResolver * base
) 



The documentation for this class was generated from the following file Platform/Posix/Interface/SolidSyslogGetAddrInfoResolver.h