diff -r 7afeec40ed62 -r 3710052a05c9 gmyth-upnp/src/gmyth_upnp.h --- a/gmyth-upnp/src/gmyth_upnp.h Tue May 22 19:14:37 2007 +0100 +++ b/gmyth-upnp/src/gmyth_upnp.h Wed May 23 16:29:42 2007 +0100 @@ -59,11 +59,11 @@ typedef enum upnp_device_list_status { GMYTH_UPNP_DEVICE_ADDED = 0, - GMYTH_UPNP_DEVICE_REMOVED, - GMYTH_UPNP_DEVICE_UPDATED + GMYTH_UPNP_DEVICE_UPDATED, + GMYTH_UPNP_DEVICE_REMOVED } GMythUPnPDeviceStatus; -typedef void (*GMythUPnPDeviceListener) ( GMythUPnPDeviceStatus status, gchar *dev ); +typedef void (*GMythUPnPDeviceListener) ( GMythUPnPDeviceStatus status, gchar *dev, gpointer obj ); struct _GMythUPnPClass { @@ -104,8 +104,9 @@ GType gmyth_upnp_get_type (void); GMythUPnP * gmyth_upnp_new ( GMythBackendInfo *gmyth_backend_info, GMythUPnPDeviceListener handler ); -gchar* gmyth_upnp_get_host ( GMythUPnP *gmyth_upnp ); -gint gmyth_upnp_get_port ( GMythUPnP *gmyth_upnp ); + +GList * gmyth_upnp_do_search_sync( GMythUPnP* gmyth_upnp ); + GMythBackendInfo* gmyth_upnp_get_backend_info ( GMythUPnP *gmyth_upnp ); G_END_DECLS