]> git.meshlink.io Git - catta/blobdiff - avahi-common/address.h
* revert half of a fix Sebastien did some time ago
[catta] / avahi-common / address.h
index 4b5fb27bd4b3c07f5ff43f3962a4bfe443882b87..3b3455108be08bed2f36392a79ffc6581b2c7b94 100644 (file)
 
 #include <sys/socket.h>
 #include <glib.h>
+#include <avahi-common/cdecl.h>
+
+/** \file address.h Defintions and functions to manipulate IP addresses. */
+
+AVAHI_C_DECL_BEGIN
 
 /** Protocol family specification, takes the values AVAHI_INET, AVAHI_INET6, AVAHI_UNSPEC */
 typedef guchar AvahiProtocol;
@@ -53,7 +58,7 @@ typedef struct {
     guint8 address[16]; /**< Address data */
 } AvahiIPv6Address;
 
-/** Protocol (address family) independant address structure */
+/** Protocol (address family) independent address structure */
 typedef struct {
     AvahiProtocol family; /**< Address family */
 
@@ -97,4 +102,6 @@ gchar* avahi_reverse_lookup_name_ipv6_int(const AvahiIPv6Address *a);
  * encapsulated IPv4 address */
 gboolean avahi_address_is_ipv4_in_ipv6(const AvahiAddress *a);
 
+AVAHI_C_DECL_END
+
 #endif