getdns_pretty_print_dict(3) getdns getdns_pretty_print_dict(3)

getdns_pretty_print_dict -- return a string representation of a getdns dict

DNS Resolver library (libgetdns, -lgetdns)

#include <getdns.h>

char *
getdns_pretty_print_dict (const getdns_dict *this_dict)

Helper function that returns a string of nicely formatted data including all of the elements in the dict.

this_dict the dictionary to render as a string

Returns a string that the calling function must free (it is allocated using the system allocator not the user defined allocator). Returns NULL if there is an error.

TBD

getdns_dict(3) libgetdns(3)

December 2015 getdns 1.7.3