]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix up the descriptions in rdataslab.h
authorOndřej Surý <ondrej@isc.org>
Sat, 13 Sep 2025 04:05:41 +0000 (06:05 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 16 Sep 2025 16:47:53 +0000 (18:47 +0200)
There were a lot of outdated comments. They've been updated or removed.

lib/dns/include/dns/rdataslab.h

index 76df3b78fe9c527e8761addc98aa47a46e398525..5938702927780c26e53294b3e6024e6d05a8e3c7 100644 (file)
@@ -107,33 +107,26 @@ struct dns_slabheader {
 
        dns_slabheader_proof_t *noqname;
        dns_slabheader_proof_t *closest;
-       /*%<
-        * We don't use the LIST macros, because the LIST structure has
-        * both head and tail pointers, and is doubly linked.
-        */
-
-       dns_slabtop_t *top;
 
-       /*%<
-        * If this is the top header for an rdataset, 'next' points
-        * to the top header for the next rdataset (i.e., the next type).
-        *
-        * Otherwise 'up' points up to the header whose down pointer points at
-        * this header.
+       /*%
+        * Points to the top slabtop structure for the type.
         */
+       dns_slabtop_t *top;
 
-       struct dns_slabheader *down;
-       /*%<
+       /*%
         * Points to the header for the next older version of
         * this rdataset.
         */
+       struct dns_slabheader *down;
 
-       dns_dbnode_t *node;
-       /*%<
-        * The database and database node objects containing
-        * this rdataset, if any.
+       /*%
+        * The database node objects containing this rdataset, if any.
         */
+       dns_dbnode_t *node;
 
+       /*%
+        * Cached glue records for an rdataset of type NS (zone only).
+        */
        dns_gluelist_t *gluelist;
 
        /*%