]> git.meshlink.io Git - catta/blobdiff - avahi-core/iface.h
* fix build system
[catta] / avahi-core / iface.h
index ab75a183aa922b3cd6ad8c1a2f47ac303b0c023e..1372e6fd137ffcf7d13e3b42bd217813325590ae 100644 (file)
@@ -40,6 +40,8 @@ typedef struct AvahiHwInterface AvahiHwInterface;
 #include "dns.h"
 #include "announce.h"
 
+#define AVAHI_MAX_MAC_ADDRESS 32
+
 struct AvahiInterfaceMonitor {
     AvahiServer *server;
     AvahiNetlink *netlink;
@@ -66,6 +68,11 @@ struct AvahiHwInterface {
     guint flags;
     guint mtu;
 
+    guint8 mac_address[AVAHI_MAX_MAC_ADDRESS];
+    guint mac_address_size;
+
+    AvahiEntryGroup *entry_group;
+
     AVAHI_LLIST_HEAD(AvahiInterface, interfaces);
 };
 
@@ -125,4 +132,8 @@ typedef void (*AvahiInterfaceMonitorWalkCallback)(AvahiInterfaceMonitor *m, Avah
     
 void avahi_interface_monitor_walk(AvahiInterfaceMonitor *m, gint index, guchar protocol, AvahiInterfaceMonitorWalkCallback callback, gpointer userdata);
 
+void avahi_update_host_rrs(AvahiInterfaceMonitor *m, gboolean remove);
+
+gboolean avahi_address_is_local(AvahiInterfaceMonitor *m, const AvahiAddress *a);
+
 #endif