aboutsummaryrefslogtreecommitdiffstats
path: root/mdns.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdns.h')
-rw-r--r--mdns.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/mdns.h b/mdns.h
index cc0b33b..78ac755 100644
--- a/mdns.h
+++ b/mdns.h
@@ -1,8 +1,15 @@
struct mdns_window;
-struct mdns_window *mdns_create_window(int standalone, int url, int xen);
+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);