move interface connect/read handling to interface.c
[project/mdnsd.git] / interface.h
index 05104c2..b9ecd8a 100644 (file)
 #include <libubox/vlist.h>
 
 extern struct vlist_tree interfaces;
-extern struct interface *cur_iface;
 
 struct interface {
        struct vlist_node node;
 
        const char *name;
        struct uloop_fd fd;
+       struct uloop_timeout reconnect;
 
        int ifindex;
        const char *ip;