ldns - Online Linux Manual PageSection : 3
Updated : 30 May 2006

NAMEldns_rr2str, ldns_pkt2str, ldns_rdf2str, ldns_rr_list2str, ldns_key2str − functions for conversions to string

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);

DESCRIPTIONldns_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 format 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

AUTHORThe ldns team at NLnet Labs.

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

COPYRIGHTCopyright (c) 2004 - 2006 NLnet Labs. Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSOldns_rr_print, ldns_rdf_print, ldns_pkt_print, ldns_rr_list_print, ldns_resolver_print, ldns_zone_print. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.

REMARKSThis manpage was automatically generated from the ldns source code.
0
Johanes Gumabo
Data Size   :   9,174 byte
man-ldns_rdf2str.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 201,843
Visitor ID   :     :  
Visitor IP   :   3.145.170.164   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.