Manual Pages for Linux CentOS command on man ldns_rdf_new_frm_str
MyWebUniversity

Manual Pages for Linux CentOS command on man ldns_rdf_new_frm_str

ldns(3) Library Functions Manual ldns(3)

NAME ldnsrdfnew, ldnsrdfclone, ldnsrdfnewfrmdata, ldnsrdfnewfrmstr, ldnsrdfnewfrmfp, ldnsrdffree, ldnsrdfdeepfree, ldnsrdfprint SYNOPSIS

#include

#include

#include ldnsrdf* ldnsrdfnew(ldnsrdftype type, sizet size, void *data); ldnsrdf* ldnsrdfclone(const ldnsrdf *rd); ldnsrdf* ldnsrdfnewfrmdata(ldnsrdftype type, sizet size, const void *data); ldnsrdf* ldnsrdfnewfrmstr(ldnsrdftype type, const char *str); ldnsstatus ldnsrdfnewfrmfp(ldnsrdf **r, ldnsrdftype type, FILE *fp); void ldnsrdffree(ldnsrdf *rd); void ldnsrdfdeepfree(ldnsrdf *rd); void ldnsrdfprint(FILE *output, const ldnsrdf *rdf); DESCRIPTION ldnsrdfnew() allocates a new rdf structure and fills it. This func‐ tion DOES NOT copy the contents from the buffer, unlinke ldnsrdfnewfrmdata() type: type of the rdf size: size of the buffer data: pointer to the buffer to be copied Returns the new rdf structure or NULL on failure ldnsrdfclone() clones a rdf structure. The data is copied. rd: rdf to be copied Returns a new rdf structure ldnsrdfnewfrmdata() allocates a new rdf structure and fills it. This function does copy the contents from the buffer, unlinke ldnsrdfnew() type: type of the rdf size: size of the buffer data: pointer to the buffer to be copied Returns the new rdf structure or NULL on failure ldnsrdfnewfrmstr() creates a new rdf from a string. type: type to use str: string to use Returns ldnsrdf* or NULL in case of an error ldnsrdfnewfrmfp() creates a new rdf from a file containing a string. r: the new rdf type: type to use fp: the file pointer to use Returns LDNSSTATUSOK or the error ldnsrdffree() frees a rdf structure, leaving the data pointer intact. rd: the pointer to be freed Returns void ldnsrdfdeepfree() frees a rdf structure and frees the data. rdf should be created with newfrmdata rd: the rdf structure to be freed Returns void ldnsrdfprint() Prints the data in the rdata field to the given file stream (in presentation format) output: the file stream to print to rdf: the rdata field to print Returns void 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 ldnsrdf. And perldoc Net::DNS, 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)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™