1.1 --- a/gmyth-upnp/src/gmyth_upnp.h Tue May 22 19:14:37 2007 +0100
1.2 +++ b/gmyth-upnp/src/gmyth_upnp.h Wed May 23 16:29:42 2007 +0100
1.3 @@ -59,11 +59,11 @@
1.4
1.5 typedef enum upnp_device_list_status {
1.6 GMYTH_UPNP_DEVICE_ADDED = 0,
1.7 - GMYTH_UPNP_DEVICE_REMOVED,
1.8 - GMYTH_UPNP_DEVICE_UPDATED
1.9 + GMYTH_UPNP_DEVICE_UPDATED,
1.10 + GMYTH_UPNP_DEVICE_REMOVED
1.11 } GMythUPnPDeviceStatus;
1.12
1.13 -typedef void (*GMythUPnPDeviceListener) ( GMythUPnPDeviceStatus status, gchar *dev );
1.14 +typedef void (*GMythUPnPDeviceListener) ( GMythUPnPDeviceStatus status, gchar *dev, gpointer obj );
1.15
1.16 struct _GMythUPnPClass
1.17 {
1.18 @@ -104,8 +104,9 @@
1.19 GType gmyth_upnp_get_type (void);
1.20 GMythUPnP * gmyth_upnp_new ( GMythBackendInfo *gmyth_backend_info,
1.21 GMythUPnPDeviceListener handler );
1.22 -gchar* gmyth_upnp_get_host ( GMythUPnP *gmyth_upnp );
1.23 -gint gmyth_upnp_get_port ( GMythUPnP *gmyth_upnp );
1.24 +
1.25 +GList * gmyth_upnp_do_search_sync( GMythUPnP* gmyth_upnp );
1.26 +
1.27 GMythBackendInfo* gmyth_upnp_get_backend_info ( GMythUPnP *gmyth_upnp );
1.28
1.29 G_END_DECLS