Re: Query regarding UPNP action




static void
got_introspection (GUPnPServiceInfo          *info,
                    GUPnPServiceIntrospection *introspection,
                    const GError              *error,
                    gpointer                   user_data)
{
     printf("\n introspec");
}

static void
append_service_tree (GUPnPServiceInfo *info,  gpointer user_data/*
list 
iteration*/
                      )
{
         char *id;
         const char *type;
         //gpointer             user_data;
         printf("\n service tree");
         id = gupnp_service_info_get_id (info);
         type = gupnp_service_info_get_service_type (info);
         gupnp_service_info_get_introspection_async (info,
got_introspection,
                                                             NULL);
}

You do have a GLibMainLoop running, don't you?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]