/** * gupnp_service_info_get_introspection_async: * @info: A #GUPnPServiceInfo * @callback: (scope async) : callback to be called when introspection object is ready. * @user_data: user_data to be passed to the callback. * * Note that introspection object is created from the information in service * description document (SCPD) provided by the service so it can not be created * if the service does not provide an SCPD. **/ void gupnp_service_info_get_introspection_async (GUPnPServiceInfo *info, GUPnPServiceIntrospectionCallback callback, gpointer user_data) { gupnp_service_info_get_introspection_async_full (info, callback, NULL, user_data); }
static void service_proxy_available_cb (G_GNUC_UNUSED GUPnPControlPoint *cp, GUPnPServiceProxy *proxy) { GUPnPServiceInfo *info; info = GUPNP_SERVICE_INFO (proxy); gupnp_service_info_get_introspection_async_full (info, got_introspection, cancellable, NULL); }