diff options
Diffstat (limited to 'mdns.h')
-rw-r--r-- | mdns.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -6,7 +6,12 @@ enum mdns_view { MDNS_VIEW_XEN, }; -struct mdns_window *mdns_create_window(int standalone, enum mdns_view view); +typedef void (*mdns_callback)(struct mdns_window *mdns, + char *name, char *type, + char *host, int port, char *url); + +struct mdns_window *mdns_create_window(int standalone, enum mdns_view view, + mdns_callback callback); void mdns_show_window(struct mdns_window *mdns); void mdns_destroy_window(struct mdns_window *mdns); |