int qio_dns_resolver_lookup_sync(QIODNSResolver *resolver,

                                 SocketAddress *addr,

                                 size_t *naddrs,

                                 SocketAddress ***addrs,

                                 Error **errp)

{

    switch (addr->type) {

    case SOCKET_ADDRESS_KIND_INET:

        return qio_dns_resolver_lookup_sync_inet(resolver,

                                                 addr,

                                                 naddrs,

                                                 addrs,

                                                 errp);



    case SOCKET_ADDRESS_KIND_UNIX:

    case SOCKET_ADDRESS_KIND_VSOCK:

    case SOCKET_ADDRESS_KIND_FD:

        return qio_dns_resolver_lookup_sync_nop(resolver,

                                                addr,

                                                naddrs,

                                                addrs,

                                                errp);



    default:

        abort();

    }

}

int qio_dns_resolver_lookup_sync(QIODNSResolver *resolver,

                                 SocketAddress *addr,

                                 size_t *naddrs,

                                 SocketAddress ***addrs,

                                 Error **errp)

{

    switch (addr->type) {

    case SOCKET_ADDRESS_KIND_INET:

        return qio_dns_resolver_lookup_sync_inet(resolver,

                                                 addr,

                                                 naddrs,

                                                 addrs,

                                                 errp);



    case SOCKET_ADDRESS_KIND_UNIX:

    case SOCKET_ADDRESS_KIND_VSOCK:

    case SOCKET_ADDRESS_KIND_FD:

        return qio_dns_resolver_lookup_sync_nop(resolver,

                                                addr,

                                                naddrs,

                                                addrs,

                                                errp);



    default:

        abort();

    }

}

int FUNC_0(QIODNSResolver *VAR_0,

                                 SocketAddress *VAR_1,

                                 size_t *VAR_2,

                                 SocketAddress ***VAR_3,

                                 Error **VAR_4)

{

    switch (VAR_1->type) {

    case SOCKET_ADDRESS_KIND_INET:

        return qio_dns_resolver_lookup_sync_inet(VAR_0,

                                                 VAR_1,

                                                 VAR_2,

                                                 VAR_3,

                                                 VAR_4);



    case SOCKET_ADDRESS_KIND_UNIX:

    case SOCKET_ADDRESS_KIND_VSOCK:

    case SOCKET_ADDRESS_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,
SocketAddress *VAR_1,
size_t *VAR_2,
SocketAddress ***VAR_3,
Error **VAR_4)
{ switch (VAR_1->type) { case SOCKET_ADDRESS_KIND_INET:
return qio_dns_resolver_lookup_sync_inet(VAR_0,
VAR_1,
VAR_2,
VAR_3,
VAR_4); case SOCKET_ADDRESS_KIND_UNIX:
case SOCKET_ADDRESS_KIND_VSOCK:
case SOCKET_ADDRESS_KIND_FD:
return qio_dns_resolver_lookup_sync_nop(VAR_0,
VAR_1,
VAR_2,
VAR_3,
VAR_4); default:
abort(); } }