manpagez: man pages & more
man ldns_rr2str(3)
Home | html | info | man
ldns(3)                                                                ldns(3)




NAME

       ldns_rr2str, ldns_pkt2str, ldns_rdf2str, ldns_rr_list2str, ldns_key2str



SYNOPSIS

       #include <stdint.h>
       #include <stdbool.h>

       #include <ldns/ldns.h>

       char* ldns_rr2str(const ldns_rr *rr);

       char* ldns_pkt2str(const ldns_pkt *pkt);

       char* ldns_rdf2str(const ldns_rdf *rdf);

       char* ldns_rr_list2str(const ldns_rr_list *rr_list);

       char* ldns_key2str(const ldns_key *k);




DESCRIPTION

       ldns_rr2str() Converts the data in the resource record to  presentation
              format and returns that as a char *.  Remember to free it.

              rr: The rdata field to convert
              Returns null terminated char * data, or NULL on error


       ldns_pkt2str() Converts the data in the DNS packet to presentation for-
              mat and returns that as a char *.  Remember to free it.

              pkt: The rdata field to convert
              Returns null terminated char * data, or NULL on error


       ldns_rdf2str() Converts the data in the  rdata  field  to  presentation
              format and returns that as a char *.  Remember to free it.

              rdf: The rdata field to convert
              Returns null terminated char * data, or NULL on error


       ldns_rr_list2str()  Converts a list of resource records to presentation
              format and returns that as a char *.  Remember to free it.

              rr_list: the rr_list to convert to text
              Returns null terminated char * data, or NULL on error


       ldns_key2str() Converts a private key to the test presentation fmt  and
              returns that as a char *.  Remember to free it.

              k: the key to convert to text
              Returns null terminated char * data, or NULL on error



AUTHOR

       The  ldns  team  at  NLnet Labs. Which consists out of Jelte Jansen and
       Miek Gieben.



REPORTING BUGS

       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  bugzilla  at
       http://www.nlnetlabs.nl/bugs/index.html



COPYRIGHT

       Copyright (c) 2004 - 2006 NLnet Labs.

       Licensed under the BSD License. There is NO warranty; not even for MER-
       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



SEE ALSO

       ldns_rr_print(3), ldns_rdf_print(3), ldns_pkt_print(3),
       ldns_rr_list_print(3), ldns_resolver_print(3), ldns_zone_print(3).
       And perldoc Net::DNS(3), RFC1034, RFC1035, RFC4033, RFC4034 and
       RFC4035.


REMARKS

       This manpage was automaticly generated from the ldns source code by use
       of Doxygen and some perl.



                                  30 May 2006                          ldns(3)

ldns 1.6.17 - Generated Tue Feb 4 06:27:04 CST 2014
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.