logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

getdns_display_ip_address -- convert an getdns ip address to string

Description

       This  helper  function returns a nicely formatted string representation of the IPv4 or IPv6 address.  The
       length of the bindata is used to determine whether the address is IPv4 or IPv6.

       ipv4_or_ipv6_addr bindata of the address to print

Examples

       TBD

Library

       DNS Resolver library (libgetdns, -lgetdns)

Name

getdns_display_ip_address -- convert an getdns ip address to string

Return Values

       Returns a string representation of the IP address (allocated using the system allocator  -  malloc),  the
       caller is responsible for freeing the storage using free().

See Also

libgetdns(3)

getdns 1.6.0                                      December 2015                     getdns_display_ip_address(3)

Synopsis

       #include <getdns.h>

       char *
       getdns_display_ip_address (const getdns_bindata *ipv4_or_ipv6_addr)

See Also