firedns_aton6(3)

NAME
firedns_aton6 - convert a colon seperated IPv6 address to binary format

SYNOPSIS
#include <firedns.h>
-lfiredns

struct in6_addr *firedns_aton6(const char * const ipstring)
struct in6_addr *firedns_aton6_r(const char * const ipstring)
struct in6_addr *firedns_aton6_s(const char * const ipstring, struct in6_addr *ip)

DESCRIPTION
firedns_aton6() takes an IPv6 address in colon seperated notation in ipstring and returns a struct in6_addr containing the address in binary format.

RETURN VALUE
Returns a struct in6_addr containing the IP address in binary form, or NULL if ipstring is not a valid IP.

AUTHOR
Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
libfiredns(3)