aboutsummaryrefslogtreecommitdiffstats
path: root/mdns.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdns.h')
-rw-r--r--mdns.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/mdns.h b/mdns.h
index 7729380..0d41d39 100644
--- a/mdns.h
+++ b/mdns.h
@@ -1,3 +1,8 @@
-int mdns_init(void);
-int mdns_browse(const char *service, const char *domain);
-void mdns_fini(void);
+struct mdns_window;
+
+struct mdns_window *mdns_create_window(int standalone);
+void mdns_show_window(struct mdns_window *mdns);
+void mdns_destroy_window(struct mdns_window *mdns);
+
+int mdns_browse(struct mdns_window *mdns,
+ const char *service, const char *domain);