Lines Matching +full:sub +full:- +full:module

2  * services/mesh.h - deal with mesh of query states and handle events for that.
40 * query states. This mesh is supposed to be thread-specific.
52 #include "util/module.h"
68 * infinite loop in the module. It is then terminated.
73 * Max number of references-to-references-to-references.. search size.
83 /** active module stack */
100 * an empty set of super-states, thus are 'toplevel' or detached
140 /** double linked list of the run-to-completion query states.
149 /** last entry in jostle list - this is the entry that is newest */
269 /* ------------------- Functions for worker -------------------- */
273 * @param stack: module stack to activate, copied (as readonly reference).
361 /* ------------------- Functions for module environment --------------- */
364 * Detach-subqueries.
365 * Remove all sub-query references from this query state.
366 * Keeps super-references of those sub-queries correct.
375 * Keeps sub and super references correct.
376 * Performs a cycle detection - for double check - and fails if there is one.
377 * Also fails if the sub-sub-references become too large.
382 * o need to initialise the new state (module init; it is a new state).
383 * so that the next run of the query with this module is successful.
402 * Does not make super/sub references.
403 * Performs a cycle detection - for double check - and fails if there is one.
408 * o need to initialise the new state (module init; it is a new state).
409 * so that the next run of the query with this module is successful.
421 * @param sub: The added mesh state, created if it did not exist already.
426 struct mesh_state** sub);
434 * Must be called before a module can module_finished or return module_error.
435 * The module must handle the super query states itself as well.
449 * Called when a module is module_finished or returns module_error.
451 * it calls the current module for the super with the inform_super event.
465 /* ------------------- Functions for mesh -------------------- */
470 * @param env: module environment to set.
508 * @param cinfo: if non-NULL client specific info that may affect IP-based
513 * @param valrec: if it is a validation-recursion query.
521 * Setup attachment super/sub relation between super and sub mesh state.
525 * @param sub: sub state.
528 int mesh_state_attachment(struct mesh_state* super, struct mesh_state* sub);
600 * Find cycle; see if the given mesh is in the targets sub, or sub-sub, ...
602 * If the sub-sub structure is too large, it returns 'a cycle'=2.
628 * delete_other_mesh_query - iter_clean - serviced_delete - waiting
629 * udp query is sent - on error callback - callback sends SERVFAIL reply
639 * @param fp: pointer to the first-elem-pointer of the list.
640 * @param lp: pointer to the last-elem-pointer of the list.
648 * @param fp: pointer to the first-elem-pointer of the list.
649 * @param lp: pointer to the last-elem-pointer of the list.
674 * @param qstate: the module qstate.