]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
subqueries
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 10 May 2007 13:28:32 +0000 (13:28 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 10 May 2007 13:28:32 +0000 (13:28 +0000)
git-svn-id: file:///svn/unbound/trunk@309 be551aaa-1e26-0410-a405-d3ace91eadb9

util/module.h

index b7cfec4f13948770e56406aaf38088731df95e5a..1cc3a7efbcb0c03e7bf32da22cd0666d4484dc27 100644 (file)
@@ -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;
 };
 
 /**