clean up hostname handling, make service_name() static
[project/mdnsd.git] / announce.h
index 50ba631..d645d6d 100644 (file)
 #ifndef _ANNOUNCE_H__
 #define _ANNOUNCE_H__
 
+struct interface;
 extern int announce_ttl;
-extern struct uloop_fd *announce_fd;
-extern void announce_init(struct uloop_fd *u);
+
+void announce_init(struct interface *iface);
+void announce_free(struct interface *iface);
 
 #endif