Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

str2host.h File Reference

Go to the source code of this file.

Functions

ldns_status ldns_str2rdf_int8 (ldns_rdf **rd, const char *bytestr)
 convert a byte into wireformat
ldns_status ldns_str2rdf_int16 (ldns_rdf **rd, const char *shortstr)
 convert a string to a int16 in wireformat
ldns_status ldns_str2rdf_int32 (ldns_rdf **rd, const char *longstr)
 convert a strings into a 4 byte int in wireformat
ldns_status ldns_str2rdf_time (ldns_rdf **rd, const char *time)
 convert a time string to a time value in wireformat
ldns_status ldns_str2rdf_period (ldns_rdf **rd, const char *str)
ldns_status ldns_str2rdf_a (ldns_rdf **rd, const char *str)
 convert str with an A record into wireformat
ldns_status ldns_str2rdf_aaaa (ldns_rdf **rd, const char *str)
 convert the str with an AAAA record into wireformat
ldns_status ldns_str2rdf_str (ldns_rdf **rd, const char *str)
 convert a string into wireformat (think txt record)
ldns_status ldns_str2rdf_apl (ldns_rdf **rd, const char *str)
 convert str with the apl record into wireformat
ldns_status ldns_str2rdf_b64 (ldns_rdf **rd, const char *str)
 convert the string with the b64 data into wireformat
ldns_status ldns_str2rdf_hex (ldns_rdf **rd, const char *str)
 convert a hex value into wireformat
ldns_status ldns_str2rdf_nsec (ldns_rdf **rd, const char *str)
 convert string with nsec into wireformat
ldns_status ldns_str2rdf_type (ldns_rdf **rd, const char *str)
 convert a rrtype into wireformat
ldns_status ldns_str2rdf_class (ldns_rdf **rd, const char *str)
 convert string with a classname into wireformat
ldns_status ldns_str2rdf_cert (ldns_rdf **rd, const char *str)
 convert string with a CERT RR into wireformat
ldns_status ldns_str2rdf_cert_alg (ldns_rdf **rd, const char *str)
 convert an certificate algorithm value into wireformat
ldns_status ldns_str2rdf_alg (ldns_rdf **rd, const char *str)
 convert and algorithm value into wireformat
ldns_status ldns_str2rdf_unknown (ldns_rdf **rd, const char *str)
 convert a string with a unknown RR into wireformat
ldns_status ldns_str2rdf_tsig (ldns_rdf **rd, const char *str)
 convert string with a tsig? RR into wireformat
ldns_status ldns_str2rdf_service (ldns_rdf **rd, const char *str)
 convert string with a protocol service into wireformat
ldns_status ldns_str2rdf_loc (ldns_rdf **rd, const char *str)
 convert a string with a LOC RR into wireformat
ldns_status ldns_str2rdf_wks (ldns_rdf **rd, const char *str)
 convert string with a WKS RR into wireformat
ldns_status ldns_str2rdf_nsap (ldns_rdf **rd, const char *str)
 convert a str with a NSAP RR into wireformat
ldns_status ldns_str2rdf_dname (ldns_rdf **rd, const char *str)
 convert a dname string into wireformat


Function Documentation

ldns_status ldns_str2rdf_a ldns_rdf **  rd,
const char *  str
 

convert str with an A record into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_aaaa ldns_rdf **  rd,
const char *  str
 

convert the str with an AAAA record into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_alg ldns_rdf **  rd,
const char *  str
 

convert and algorithm value into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_apl ldns_rdf **  rd,
const char *  str
 

convert str with the apl record into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_b64 ldns_rdf **  rd,
const char *  str
 

convert the string with the b64 data into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_cert ldns_rdf **  rd,
const char *  str
 

convert string with a CERT RR into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_cert_alg ldns_rdf **  rd,
const char *  str
 

convert an certificate algorithm value into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_class ldns_rdf **  rd,
const char *  str
 

convert string with a classname into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_dname ldns_rdf **  rd,
const char *  str
 

convert a dname string into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_hex ldns_rdf **  rd,
const char *  str
 

convert a hex value into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_int16 ldns_rdf **  rd,
const char *  shortstr
 

convert a string to a int16 in wireformat

Parameters:
[in] rd the rdf where to put the data
[in] shortstr the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_int32 ldns_rdf **  rd,
const char *  longstr
 

convert a strings into a 4 byte int in wireformat

Parameters:
[in] rd the rdf where to put the data
[in] longstr the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_int8 ldns_rdf **  rd,
const char *  bytestr
 

convert a byte into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] bytestr the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_loc ldns_rdf **  rd,
const char *  str
 

convert a string with a LOC RR into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_nsap ldns_rdf **  rd,
const char *  str
 

convert a str with a NSAP RR into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_nsec ldns_rdf **  rd,
const char *  str
 

convert string with nsec into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_period ldns_rdf **  rd,
const char *  str
 

ldns_status ldns_str2rdf_service ldns_rdf **  rd,
const char *  str
 

convert string with a protocol service into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_str ldns_rdf **  rd,
const char *  str
 

convert a string into wireformat (think txt record)

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted (NULL terminated)
Returns:
ldns_status

ldns_status ldns_str2rdf_time ldns_rdf **  rd,
const char *  time
 

convert a time string to a time value in wireformat

Parameters:
[in] rd the rdf where to put the data
[in] time the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_tsig ldns_rdf **  rd,
const char *  str
 

convert string with a tsig? RR into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_type ldns_rdf **  rd,
const char *  str
 

convert a rrtype into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_unknown ldns_rdf **  rd,
const char *  str
 

convert a string with a unknown RR into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status

ldns_status ldns_str2rdf_wks ldns_rdf **  rd,
const char *  str
 

convert string with a WKS RR into wireformat

Parameters:
[in] rd the rdf where to put the data
[in] str the string to be converted
Returns:
ldns_status


Generated on Tue Jan 24 02:22:29 2006 for ldns by  doxygen 1.4.4