make interface_socket_setup static
[project/mdnsd.git] / interface.h
index 05104c2..5250e96 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;
@@ -39,6 +39,5 @@ struct interface {
 
 int interface_add(const char *name);
 int interface_send_packet(struct interface *iface, struct iovec *iov, int iov_len);
-int interface_socket_setup(struct interface *iface);
 
 #endif