X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=address.h;fp=address.h;h=193a2d1550dc582af01c6c08a32b32044445c822;hb=4de18a7015ed77eac277bee669d4c8d9dae60b89;hp=33dcc279826e3dfb4f92e3b609a8642279cd0d1c;hpb=c77f4231ed850b90b9b6f337727e19b63418426f;p=catta diff --git a/address.h b/address.h index 33dcc27..193a2d1 100644 --- a/address.h +++ b/address.h @@ -12,7 +12,7 @@ typedef struct { } flxIPv6Address; typedef struct { - guint family; + guchar family; union { flxIPv6Address ipv6; @@ -26,7 +26,7 @@ gint flx_address_cmp(const flxAddress *a, const flxAddress *b); gchar *flx_address_snprint(char *ret_s, guint length, const flxAddress *a); -flxAddress *flx_address_parse(const char *s, int family, flxAddress *ret_addr); +flxAddress *flx_address_parse(const char *s, guchar family, flxAddress *ret_addr); gchar* flx_reverse_lookup_name_ipv4(const flxIPv4Address *a); gchar* flx_reverse_lookup_name_ipv6_arpa(const flxIPv6Address *a);