void qio_dns_resolver_lookup_async(QIODNSResolver *resolver,

                                   SocketAddress *addr,

                                   QIOTaskFunc func,

                                   gpointer opaque,

                                   GDestroyNotify notify)

{

    QIOTask *task;

    struct QIODNSResolverLookupData *data =

        g_new0(struct QIODNSResolverLookupData, 1);



    data->addr = QAPI_CLONE(SocketAddress, addr);



    task = qio_task_new(OBJECT(resolver), func, opaque, notify);



    qio_task_run_in_thread(task,

                           qio_dns_resolver_lookup_worker,

                           data,

                           qio_dns_resolver_lookup_data_free);

}

void qio_dns_resolver_lookup_async(QIODNSResolver *resolver,

                                   SocketAddress *addr,

                                   QIOTaskFunc func,

                                   gpointer opaque,

                                   GDestroyNotify notify)

{

    QIOTask *task;

    struct QIODNSResolverLookupData *data =

        g_new0(struct QIODNSResolverLookupData, 1);



    data->addr = QAPI_CLONE(SocketAddress, addr);



    task = qio_task_new(OBJECT(resolver), func, opaque, notify);



    qio_task_run_in_thread(task,

                           qio_dns_resolver_lookup_worker,

                           data,

                           qio_dns_resolver_lookup_data_free);

}

void FUNC_0(QIODNSResolver *VAR_0,

                                   SocketAddress *VAR_1,

                                   QIOTaskFunc VAR_2,

                                   gpointer VAR_3,

                                   GDestroyNotify VAR_4)

{

    QIOTask *task;

    struct QIODNSResolverLookupData *VAR_5 =

        g_new0(struct QIODNSResolverLookupData, 1);



    VAR_5->VAR_1 = QAPI_CLONE(SocketAddress, VAR_1);



    task = qio_task_new(OBJECT(VAR_0), VAR_2, VAR_3, VAR_4);



    qio_task_run_in_thread(task,

                           qio_dns_resolver_lookup_worker,

                           VAR_5,

                           qio_dns_resolver_lookup_data_free);

}

void FUNC_0(QIODNSResolver *VAR_0,
SocketAddress *VAR_1,
QIOTaskFunc VAR_2,
gpointer VAR_3,
GDestroyNotify VAR_4)
{ QIOTask *task; struct QIODNSResolverLookupData *VAR_5 =
g_new0(struct QIODNSResolverLookupData, 1); VAR_5->VAR_1 = QAPI_CLONE(SocketAddress, VAR_1); task = qio_task_new(OBJECT(VAR_0), VAR_2, VAR_3, VAR_4); qio_task_run_in_thread(task,
qio_dns_resolver_lookup_worker,
VAR_5,
qio_dns_resolver_lookup_data_free); }