aboutsummaryrefslogtreecommitdiffstats
path: root/xenwatch.c
diff options
context:
space:
mode:
authorkraxel <kraxel>2006-01-24 16:36:21 +0000
committerkraxel <kraxel>2006-01-24 16:36:21 +0000
commit5874585e61bbeec0f63d741d8051da62dd6a8009 (patch)
tree98e15c88c4ca5bec5e4c7784f0ff5bb1adc671ef /xenwatch.c
parent27a809254346cb8cb6b814ffa125074806f97f00 (diff)
downloadxenwatch-5874585e61bbeec0f63d741d8051da62dd6a8009.tar.gz
- some experimental mdns bits
Diffstat (limited to 'xenwatch.c')
-rw-r--r--xenwatch.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/xenwatch.c b/xenwatch.c
index 558256b..6f56c74 100644
--- a/xenwatch.c
+++ b/xenwatch.c
@@ -12,10 +12,11 @@
#include <gtk/gtk.h>
#include "xenviews.h"
+#include "mdns.h"
/* ------------------------------------------------------------------ */
-static Display *dpy;
+static Display *dpy;
/* ------------------------------------------------------------------ */
@@ -31,8 +32,12 @@ main(int argc, char *argv[])
xen_doms_create_window();
gtk_widget_show_all(xd_toplevel);
+ mdns_init();
+ mdns_browse("_ssh._tcp", NULL);
+
gtk_main();
+ mdns_fini();
fprintf(stderr,"bye...\n");
exit(0);
}