static void vnc_init_basic_info_from_remote_addr(QIOChannelSocket *ioc,

                                                 VncBasicInfo *info,

                                                 Error **errp)

{

    SocketAddress *addr = NULL;



    addr = qio_channel_socket_get_remote_address(ioc, errp);

    if (!addr) {

        return;

    }



    vnc_init_basic_info(addr, info, errp);

    qapi_free_SocketAddress(addr);

}

static void vnc_init_basic_info_from_remote_addr(QIOChannelSocket *ioc,

                                                 VncBasicInfo *info,

                                                 Error **errp)

{

    SocketAddress *addr = NULL;



    addr = qio_channel_socket_get_remote_address(ioc, errp);

    if (!addr) {

        return;

    }



    vnc_init_basic_info(addr, info, errp);

    qapi_free_SocketAddress(addr);

}

static void FUNC_0(QIOChannelSocket *VAR_0,

                                                 VncBasicInfo *VAR_1,

                                                 Error **VAR_2)

{

    SocketAddress *addr = NULL;



    addr = qio_channel_socket_get_remote_address(VAR_0, VAR_2);

    if (!addr) {

        return;

    }



    vnc_init_basic_info(addr, VAR_1, VAR_2);

    qapi_free_SocketAddress(addr);

}

static void FUNC_0(QIOChannelSocket *VAR_0,
VncBasicInfo *VAR_1,
Error **VAR_2)
{ SocketAddress *addr = NULL; addr = qio_channel_socket_get_remote_address(VAR_0, VAR_2); if (!addr) { return; } vnc_init_basic_info(addr, VAR_1, VAR_2); qapi_free_SocketAddress(addr); }