X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Faddress.h;h=3b3455108be08bed2f36392a79ffc6581b2c7b94;hb=280e0fa69dc03706a24bf7128422443cb37d08ab;hp=4b5fb27bd4b3c07f5ff43f3962a4bfe443882b87;hpb=9962a048634c590db23a00db1d01daada779844c;p=catta diff --git a/avahi-common/address.h b/avahi-common/address.h index 4b5fb27..3b34551 100644 --- a/avahi-common/address.h +++ b/avahi-common/address.h @@ -24,6 +24,11 @@ #include #include +#include + +/** \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