From: Jelte Jansen Date: Fri, 29 Apr 2005 09:36:20 +0000 (+0000) Subject: typo's, interpunction, and adds X-Git-Tag: release-0.50~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a474f8c7a919bdf9cd065bc45f2672b60c11bee7;p=thirdparty%2Fldns.git typo's, interpunction, and adds --- diff --git a/doc/doxyparse.pl b/doc/doxyparse.pl index 77db8919..c2b04ebc 100755 --- a/doc/doxyparse.pl +++ b/doc/doxyparse.pl @@ -99,6 +99,8 @@ while(<>) { # /** Seen #print "Comment seen! [$_]\n"; $state = 1; + undef $description; + undef $struct_description; next; } if (/\*\// and $state == 1) { @@ -157,7 +159,10 @@ while(<>) { undef $description; undef $struct_description; $state = 0; - } elsif (/^typedef\sstruct\s(\w+)\s(\w+);/ and $state == 2) { + } elsif ($state == 2 and ( + /^typedef\sstruct\s(\w+)\s(\w+);/ or + /^typedef\senum\s(\w+)\s(\w+);/) + ) { $struct_description .= "\n.br\n" . $_; $key = $2; $description{$key} = $struct_description; diff --git a/doc/function_manpages b/doc/function_manpages index b4f13d25..48a09e09 100644 --- a/doc/function_manpages +++ b/doc/function_manpages @@ -75,20 +75,20 @@ ldns_fget_token, ldns_fskipcs ldns_str_remove_comment # rdata.h -ldns_rdf_set_size, ldns_rdf_set_type, ldns_rdf_set_data -ldns_rdf_size, ldns_rdf_get_type, ldns_rdf_data -ldns_rdf_new, ldns_rdf_new_frm_data, ldns_rdf_new_frm_str,ldns_rdf_new_frm_fp, ldns_rdf_free, ldns_rdf_free_data, ldns_rdf_print -ldns_native2rdf_int8, ldns_native2rdf_int16, ldns_native2rdf_int32 -ldns_native2rdf_int16_data, ldns_rdf2native_int8, ldns_rdf2native_int16, ldns_rdf2native_int32, ldns_rdf2native_sockaddr_storage -ldns_rdf_address_reverse -ldns_octet +ldns_rdf, ldns_rdf_type | ldns_rdf_set_size, ldns_rdf_size, ldns_rdf_new, ldns_native2rdf_int8, ldns_rdf_address_reverse, ldns_octet +ldns_rdf_set_size, ldns_rdf_set_type, ldns_rdf_set_data | ldns_rdf +ldns_rdf_size, ldns_rdf_get_type, ldns_rdf_data | ldns_rdf +ldns_rdf_new, ldns_rdf_new_frm_data, ldns_rdf_new_frm_str,ldns_rdf_new_frm_fp, ldns_rdf_free, ldns_rdf_free_data, ldns_rdf_print | ldns_rdf +ldns_native2rdf_int8, ldns_native2rdf_int16, ldns_native2rdf_int32,ldns_native2rdf_int16_data, ldns_rdf2native_int8, ldns_rdf2native_int16, ldns_rdf2native_int32, ldns_rdf2native_sockaddr_storage | ldns_rdf +ldns_rdf_address_reverse | ldns_rdf +ldns_octet | ldns_rdf # why is this in rdata.h? ldns_str2period ldns_rdf_deep_clone ldns_rdf_compare # rr.h and other general rr funcs -ldns_rr_new, ldns_rr_new_frm_type, ldns_rr_new_frm_str, ldns_rr_new_frm_fp, ldns_rr_free, ldns_rr_print +ldns_rr, ldns_rr_new, ldns_rr_new_frm_type, ldns_rr_new_frm_str, ldns_rr_new_frm_fp, ldns_rr_free, ldns_rr_print ldns_rr_set_owner, ldns_rr_set_ttl, ldns_rr_set_type, ldns_rr_set_rd_count, ldns_rr_set_class, ldns_rr_set_rdf ldns_rr_push_rdf, ldns_rr_pop_rdf ldns_rr_rdf, ldns_rr_owner, ldns_rr_rd_count, ldns_rr_ttl, ldns_rr_get_class diff --git a/ldns/rdata.h b/ldns/rdata.h index b896ada0..3aad0c91 100644 --- a/ldns/rdata.h +++ b/ldns/rdata.h @@ -82,7 +82,7 @@ enum ldns_enum_rdf_type typedef enum ldns_enum_rdf_type ldns_rdf_type; /** - * \brief Resource record data + * Resource record data * * The data is a network ordered array of bytes, which size is specified by * the (16-bit) size field. To correctly parse it, use the type @@ -90,11 +90,11 @@ typedef enum ldns_enum_rdf_type ldns_rdf_type; */ struct ldns_struct_rdf { - /** \brief The size of the data (in bytes) */ + /** The size of the data (in bytes) */ uint16_t _size; - /** \brief The type of the data */ + /** The type of the data */ ldns_rdf_type _type; - /** \brief Pointer to the data (byte buffer) */ + /** Pointer to the data (byte buffer) */ void *_data; }; typedef struct ldns_struct_rdf ldns_rdf; diff --git a/ldns/wire2host.h b/ldns/wire2host.h index 40b565b1..5860d50e 100644 --- a/ldns/wire2host.h +++ b/ldns/wire2host.h @@ -96,9 +96,9 @@ #define ARCOUNT(wirebuf) (read_uint16(wirebuf+ARCOUNT_OFF)) /** - * Converts the data on the uint8_t bytearray (in wire format) to a DNS packet + * converts the data on the uint8_t bytearray (in wire format) to a DNS packet. * This function will initialize and allocate memory space for the packet - * structure + * structure. * * \param[in] packet pointer to the structure to hold the packet * \param[in] data pointer to the buffer with the data @@ -108,7 +108,7 @@ ldns_status ldns_wire2pkt(ldns_pkt **packet, const uint8_t *data, size_t len); /** - * Converts the data on the uint8_t bytearray (in wire format) to a DNS + * converts the data on the uint8_t bytearray (in wire format) to a DNS * dname rdata field. This function will initialize and allocate memory * space for the dname structure. The length of the wiredata of this rdf * is added to the *pos value. @@ -123,10 +123,10 @@ ldns_status ldns_wire2pkt(ldns_pkt **packet, const uint8_t *data, size_t len); ldns_status ldns_wire2dname(ldns_rdf **dname, const uint8_t *wire, size_t max, size_t *pos); /** - * Converts the data on the uint8_t bytearray (in wire format) to a DNS - * rdata field, and adds it to the list of rdfs in the given rr + * converts the data on the uint8_t bytearray (in wire format) to a DNS + * rdata field, and adds it to the list of rdfs in the given rr. * This function will initialize and allocate memory space for the dname - * structure + * structure. * The length of the wiredata of this rdf is added to the *pos value. * * \param[in] rr pointer to the ldns_rr structure to hold the rdata value @@ -139,10 +139,10 @@ ldns_status ldns_wire2dname(ldns_rdf **dname, const uint8_t *wire, size_t max, s ldns_status ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, size_t max, size_t *pos); /** - * Converts the data on the uint8_t bytearray (in wire format) to a DNS - * resource records + * converts the data on the uint8_t bytearray (in wire format) to a DNS + * resource record. * This function will initialize and allocate memory space for the rr - * structure + * structure. * The length of the wiredata of this rr is added to the *pos value. * * \param[in] rr pointer to the structure to hold the rdata value