]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fix doxygen
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 19 Oct 2017 10:18:09 +0000 (10:18 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 19 Oct 2017 10:18:09 +0000 (10:18 +0000)
git-svn-id: file:///svn/unbound/trunk@4379 be551aaa-1e26-0410-a405-d3ace91eadb9

services/authzone.c
services/authzone.h

index 26541a28aaafb20e667c82e6c58391c59bcbed44..e795ed5fbedf5910e48ed5643060b5e4e4905417 100644 (file)
@@ -2586,6 +2586,8 @@ int auth_zones_lookup(struct auth_zones* az, struct query_info* qinfo,
 {
        int r;
        struct auth_zone* z;
+       /* TODO: in iterator, after cache lookup, before network lookup,
+        * call this to get answer */
 
        /* find the zone that should contain the answer. */
        lock_rw_rdlock(&az->lock);
@@ -2655,6 +2657,8 @@ int auth_zones_answer(struct auth_zones* az, struct module_env* env,
        struct query_info* qinfo, struct edns_data* edns, struct sldns_buffer* buf,
        struct regional* temp)
 {
+       /* TODO: in handle after localzones, before cache, if az != NULL,
+        * call this function to answer downstream */
        struct dns_msg* msg = NULL;
        struct auth_zone* z;
        int r;
@@ -2835,6 +2839,7 @@ xfr_set_timeout(struct auth_xfer* xfr, struct module_env* env,
 void
 auth_xfer_pickup_initial(struct auth_zones* az, struct module_env* env)
 {
+       /* TODO: call this from worker0 at start of unbound */
        struct auth_xfer* x;
        lock_rw_wrlock(&az->lock);
        RBTREE_FOR(x, struct auth_xfer*, &az->xtree) {
index 69cfd78efaa819fd3c67cb91d18092156abddd10..152704f5fc8881cf2ca6b70fc482b2939e5f7b2d 100644 (file)
@@ -375,7 +375,7 @@ struct auth_zones* auth_zones_create(void);
  * @param az: auth zones structure
  * @param cfg: config to apply.
  * @param setup: if true, also sets up values in the auth zones structure
- * @parm env: for setup, with current time.
+ * @param env: for setup, with current time.
  * @return false on failure.
  */
 int auth_zones_apply_cfg(struct auth_zones* az, struct config_file* cfg,