From: Wouter Wijngaards Date: Thu, 10 May 2007 13:28:32 +0000 (+0000) Subject: subqueries X-Git-Tag: release-0.4~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c90125ab2df5302e9c99971049eed80b0d24be6;p=thirdparty%2Funbound.git subqueries git-svn-id: file:///svn/unbound/trunk@309 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/util/module.h b/util/module.h index b7cfec4f1..1cc3a7efb 100644 --- a/util/module.h +++ b/util/module.h @@ -144,6 +144,13 @@ struct module_qstate { void* minfo[MAX_MODULE]; /** environment for this query */ struct module_env* module_env; + + /** parent query, only nonNULL for subqueries */ + struct module_qstate* parent; + /** pointer to first subquery below this one; makes list with next */ + struct module_qstate* subquery_first; + /** pointer to next sibling subquery (not above or below this one) */ + struct module_qstate* subquery_next; }; /**