summaryrefslogtreecommitdiffstats
path: root/socket.h
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-04-25 18:48:57 +0000
committerTrent Lloyd <lathiat@bur.st>2005-04-25 18:48:57 +0000
commitba8547ee3f34d8fe7bedb559530b2c0374f2089c (patch)
tree44f022dcd715c94eaa370b74dda99cfc2aede49c /socket.h
parent4c8155fa9c85c7ece92182d0ab53f99a982a4abf (diff)
* Import fixes to multicast code to IP_ADD_MEMBERSHIP per interface,
rather than a 'global' one, which didn't really work. -- Trent Lloyd <lathiat@bur.st> git-svn-id: file:///home/lennart/svn/public/avahi/trunk@31 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/socket.h b/socket.h
index eb7013a..61d17a5 100644
--- a/socket.h
+++ b/socket.h
@@ -14,4 +14,10 @@ gint flx_send_dns_packet_ipv6(gint fd, gint iface, flxDnsPacket *p);
flxDnsPacket *flx_recv_dns_packet_ipv4(gint fd, struct sockaddr_in*ret_sa, gint *ret_iface, guint8 *ret_ttl);
flxDnsPacket *flx_recv_dns_packet_ipv6(gint fd, struct sockaddr_in6*ret_sa, gint *ret_iface, guint8 *ret_ttl);
+int flx_mdns_mcast_join_ipv4(int index, int fd);
+int flx_mdns_mcast_join_ipv6(int index, int fd);
+
+int flx_mdns_mcast_leave_ipv4(int index, int fd);
+int flx_mdns_mcast_leave_ipv6(int index, int fd);
+
#endif