Top |
GQuark | dmap_mdns_browser_error_quark () |
DMAPMdnsBrowser * | dmap_mdns_browser_new () |
gboolean | dmap_mdns_browser_start () |
gboolean | dmap_mdns_browser_stop () |
const GSList * | dmap_mdns_browser_get_services () |
DMAPMdnsBrowserServiceType | dmap_mdns_browser_get_service_type () |
enum | DMAPMdnsBrowserServiceType |
enum | DMAPMdnsBrowserTransportProtocol |
enum | DMAPMdnsBrowserError |
struct | DMAPMdnsBrowserService |
struct | DMAPMdnsBrowserClass |
#define | DMAP_MDNS_BROWSER_ERROR |
GEnum ├── DMAPMdnsBrowserError ├── DMAPMdnsBrowserServiceType ╰── DMAPMdnsBrowserTransportProtocol
DMAPMdnsBrowser *
dmap_mdns_browser_new (DMAPMdnsBrowserServiceType type
);
Creates a new mDNS browser.
gboolean dmap_mdns_browser_start (DMAPMdnsBrowser *browser
,GError **error
);
Starts a DMAPMdnsBrowser.
gboolean dmap_mdns_browser_stop (DMAPMdnsBrowser *browser
,GError **error
);
Stops a DMAPMdnsBrowser.
const GSList *
dmap_mdns_browser_get_services (DMAPMdnsBrowser *browser
);
DMAPMdnsBrowserServiceType
dmap_mdns_browser_get_service_type (DMAPMdnsBrowser *browser
);
struct DMAPMdnsBrowserService { gchar *service_name; gchar *name; gchar *host; guint port; gboolean password_protected; gchar *pair; // FIXME: subclass DMAPMdnsBrowserTransportProtocol transport_protocol; // FIXME: subclass };
struct DMAPMdnsBrowserClass { GObjectClass parent_class; void (*service_added) (DMAPMdnsBrowser * browser, DMAPMdnsBrowserService * service); void (*service_removed) (DMAPMdnsBrowser * browser, DMAPMdnsBrowserService * service); };