diff options
Diffstat (limited to 'mdns.h')
-rw-r--r-- | mdns.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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); |