aboutsummaryrefslogtreecommitdiffstats
path: root/mdns.h
blob: 78ac755035a7ec76fc0c6ec90862314d6877f6d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct mdns_window;

enum mdns_view {
    MDNS_VIEW_DEFAULT = 0,
    MDNS_VIEW_URL,
    MDNS_VIEW_XEN,
};

struct mdns_window *mdns_create_window(int standalone, enum mdns_view view);
void mdns_show_window(struct mdns_window *mdns);
void mdns_destroy_window(struct mdns_window *mdns);

int  mdns_view(struct mdns_window *mdns, enum mdns_view view);
int  mdns_browse(struct mdns_window *mdns,
		 const char *service, const char *domain);