]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ranked_rr_array_entry: update some comments
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 13 Apr 2017 11:41:48 +0000 (13:41 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 13 Apr 2017 11:41:48 +0000 (13:41 +0200)
lib/utils.h

index 24f652fa75083ef21caa1aafab797cfdcbd5aea6..b846dbdb0b10ddaf06ab10b335329a946215abde 100644 (file)
@@ -114,11 +114,11 @@ struct kr_context;
 typedef array_t(knot_rrset_t *) rr_array_t;
 struct ranked_rr_array_entry {
        uint32_t qry_uid;
-       uint8_t rank; /* kr_validation_rank_t */
+       uint8_t rank; /**< enum kr_rank */
        uint8_t revalidation_cnt;
-       bool cached;
+       bool cached;  /**< whether it has been stashed to cache already */
        bool yielded;
-       bool to_wire;
+       bool to_wire; /**< whether to be put into the answer */
        knot_rrset_t *rr;
 };
 typedef struct ranked_rr_array_entry ranked_rr_array_entry_t;