int qio_dns_resolver_lookup_sync(QIODNSResolver *resolver,

                                 SocketAddressLegacy *addr,

                                 size_t *naddrs,

                                 SocketAddressLegacy ***addrs,

                                 Error **errp)

{

    switch (addr->type) {

    case SOCKET_ADDRESS_LEGACY_KIND_INET:

        return qio_dns_resolver_lookup_sync_inet(resolver,

                                                 addr,

                                                 naddrs,

                                                 addrs,

                                                 errp);



    case SOCKET_ADDRESS_LEGACY_KIND_UNIX:

    case SOCKET_ADDRESS_LEGACY_KIND_VSOCK:

    case SOCKET_ADDRESS_LEGACY_KIND_FD:

        return qio_dns_resolver_lookup_sync_nop(resolver,

                                                addr,

                                                naddrs,

                                                addrs,

                                                errp);



    default:

        abort();

    }

}

int qio_dns_resolver_lookup_sync(QIODNSResolver *resolver,

                                 SocketAddressLegacy *addr,

                                 size_t *naddrs,

                                 SocketAddressLegacy ***addrs,

                                 Error **errp)

{

    switch (addr->type) {

    case SOCKET_ADDRESS_LEGACY_KIND_INET:

        return qio_dns_resolver_lookup_sync_inet(resolver,

                                                 addr,

                                                 naddrs,

                                                 addrs,

                                                 errp);



    case SOCKET_ADDRESS_LEGACY_KIND_UNIX:

    case SOCKET_ADDRESS_LEGACY_KIND_VSOCK:

    case SOCKET_ADDRESS_LEGACY_KIND_FD:

        return qio_dns_resolver_lookup_sync_nop(resolver,

                                                addr,

                                                naddrs,

                                                addrs,

                                                errp);



    default:

        abort();

    }

}

int FUNC_0(QIODNSResolver *VAR_0,

                                 SocketAddressLegacy *VAR_1,

                                 size_t *VAR_2,

                                 SocketAddressLegacy ***VAR_3,

                                 Error **VAR_4)

{

    switch (VAR_1->type) {

    case SOCKET_ADDRESS_LEGACY_KIND_INET:

        return qio_dns_resolver_lookup_sync_inet(VAR_0,

                                                 VAR_1,

                                                 VAR_2,

                                                 VAR_3,

                                                 VAR_4);



    case SOCKET_ADDRESS_LEGACY_KIND_UNIX:

    case SOCKET_ADDRESS_LEGACY_KIND_VSOCK:

    case SOCKET_ADDRESS_LEGACY_KIND_FD:

        return qio_dns_resolver_lookup_sync_nop(VAR_0,

                                                VAR_1,

                                                VAR_2,

                                                VAR_3,

                                                VAR_4);



    default:

        abort();

    }

}

int FUNC_0(QIODNSResolver *VAR_0,
SocketAddressLegacy *VAR_1,
size_t *VAR_2,
SocketAddressLegacy ***VAR_3,
Error **VAR_4)
{ switch (VAR_1->type) { case SOCKET_ADDRESS_LEGACY_KIND_INET:
return qio_dns_resolver_lookup_sync_inet(VAR_0,
VAR_1,
VAR_2,
VAR_3,
VAR_4); case SOCKET_ADDRESS_LEGACY_KIND_UNIX:
case SOCKET_ADDRESS_LEGACY_KIND_VSOCK:
case SOCKET_ADDRESS_LEGACY_KIND_FD:
return qio_dns_resolver_lookup_sync_nop(VAR_0,
VAR_1,
VAR_2,
VAR_3,
VAR_4); default:
abort(); } }