Manual Pages for Linux CentOS command on man ldns_native2rdf_int32
MyWebUniversity

Manual Pages for Linux CentOS command on man ldns_native2rdf_int32

ldns(3) Library Functions Manual ldns(3)

NAME ldnsnative2rdfint8, ldnsnative2rdfint16, ldnsnative2rdfint32, ldnsnative2rdfint16data, ldnsrdf2nativeint8, ldnsrdf2nativeint16, ldnsrdf2nativeint32, ldnsrdf2nativesock‐ addrstorage, ldnsrdf2nativetimet SYNOPSIS

#include

#include

#include ldnsrdf* ldnsnative2rdfint8(ldnsrdftype type, uint8t value); ldnsrdf* ldnsnative2rdfint16(ldnsrdftype type, uint16t value); ldnsrdf* ldnsnative2rdfint32(ldnsrdftype type, uint32t value); ldnsrdf* ldnsnative2rdfint16data(sizet size, uint8t *data); uint8t ldnsrdf2nativeint8(const ldnsrdf *rd); uint16t ldnsrdf2nativeint16(const ldnsrdf *rd); uint32t ldnsrdf2nativeint32(const ldnsrdf *rd); struct sockaddrstorage * ldnsrdf2nativesockaddrstorage(const ldnsrdf *rd, uint16t port, sizet *size); timet ldnsrdf2nativetimet(const ldnsrdf *rd); DESCRIPTION ldnsnative2rdfint8() returns the rdf containing the native uint8t repr. type: the ldnsrdf type to use value: the uint8t to use Returns ldnsrdf* with the converted value ldnsnative2rdfint16() returns the rdf containing the native uint16t representation. type: the ldnsrdf type to use value: the uint16t to use Returns ldnsrdf* with the converted value ldnsnative2rdfint32() returns an rdf that contains the given int32 value. Because multiple rdf types can contain an int32, the type must be specified type: the ldnsrdf type to use value: the uint32t to use Returns ldnsrdf* with the converted value ldnsnative2rdfint16data() returns an int16data rdf that contains the data in the given array, preceded by an int16 specifying the length. The memory is copied, and an LDNSRDFTYPEINT16DATA is returned size: the size of the data *data: pointer to the actual data Returns ldnsrd* the rdf with the data ldnsrdf2nativeint8() returns the native uint8t representation from the rdf. rd: the ldnsrdf to operate on Returns uint8t the value extracted ldnsrdf2nativeint16() returns the native uint16t representation from the rdf. rd: the ldnsrdf to operate on Returns uint16t the value extracted ldnsrdf2nativeint32() returns the native uint32t representation from the rdf. rd: the ldnsrdf to operate on Returns uint32t the value extracted ldnsrdf2nativesockaddrstorage() returns the native sockaddr repre‐ sentation from the rdf. rd: the ldnsrdf to operate on port: what port to use. 0 means; use default (53) size: what is the size of the sockaddrstorage Returns struct sockaddr* the address in the format so other functions can use it (sendto) ldnsrdf2nativetimet() returns the native timet representation from the rdf. rd: the ldnsrdf to operate on Returns timet the value extracted (32 bits currently) 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 ™