aboutsummaryrefslogtreecommitdiffstats
path: root/mdns.h
blob: ee1fc1ce5bbdc95237d89a4e27f4813d8dbb795f (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, int replace,
		 const char *service, const char *domain);