GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GETDNS_DISPLAY_IP_ADDRESS (3)

NAME

getdns_display_ip_address -- convert an getdns ip address to string

CONTENTS

Library
Synopsis
Description
Examples
See Also

LIBRARY

DNS Resolver library (libgetdns, -lgetdns)

SYNOPSIS

#include <getdns.h>

char *
getdns_display_ip_address (const getdns_bindata *ipv4_or_ipv6_addr)

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


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().

EXAMPLES

TBD

SEE ALSO

libgetdns(3)

Search for    or go to Top of page |  Section 3 |  Main Index


getdns 0.9.0 GETDNS_DISPLAY_IP_ADDRESS (3) December 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.