Lines Matching defs:event
177 * processing event. It cannot be used to reactivate a forEvent.
201 * Transition an event to its final state. Final states always either return
202 * a result up the module chain, or reactivate a dependent event. Which
203 * final state to transition to is set in the module state for the event when
204 * it was created, and depends on the original purpose of the event.
658 * Generate a local request event. Local events are tied to this module, and
659 * have a corresponding (first tier) event that is waiting for this event to
666 * @param qstate The event that is generating this event.
668 * @param iq: The iterator state that is generating this event.
1217 * priming event, or 3) forwards the request to the next state (init2,
1224 * @return true if the event needs more request processing immediately,
1474 * this event will stop until reactivated by the
1605 * @return true if the event needs more request processing immediately,
1667 * @return true, advancing the event to the QUERYTARGETS_STATE.
1787 * Given an event at a certain state, generate zero or more target queries
1906 * @return true if the event requires more request processing immediately,
2086 * @return true if the event requires more immediate processing, false if
2132 * This is the request event state where the request will be sent to one of
2143 * @return true if the event requires more request processing immediately,
2647 * event to the next state (either bouncing it back to a request state, or
2648 * terminating the processing for this event).
2653 * @return true if the event requires more immediate processing, false if
2911 /* Reset the event state, setting the current delegation
3071 * In this case, the event is just sent directly back to
3165 * event.
3169 * @return true if the event needs more immediate processing, false if not.
3209 /* This event is finished. */
3217 * responsible for reactivating the original event, and housekeeping related
3242 /* Tell the originating event that this target query has finished
3246 /* check to see if parent event is still interested (in orig name). */
3254 /* If not interested, just stop processing this event */
3275 * the original event.
3459 * @return true if the event needs more immediate processing, false if not.
3513 * @return true if the event needs more processing, false if not. Since this
3514 * is the final state for an event, it always returns false.
3676 verbose(VERB_ALGO, "process_request: new external request event");
3684 enum module_ev event)
3690 verbose(VERB_ALGO, "process_response: new external response event");
3693 if(event == module_event_noreply || event == module_event_error) {
3694 if(event == module_event_noreply && iq->timeout_count >= 3 &&
3713 if( (event != module_event_reply && event != module_event_capsfail)
3715 log_err("Bad event combined with response");
3717 errinf(qstate, "module iterator received wrong internal event with a response message");
3765 if(event == module_event_capsfail && !iq->caps_fallback) {
3789 if(event == module_event_capsfail || iq->caps_fallback) {
3867 iter_operate(struct module_qstate* qstate, enum module_ev event, int id,
3872 verbose(VERB_QUERY, "iterator[module %d] operate: extstate:%s event:%s",
3873 id, strextstate(qstate->ext_state[id]), strmodulevent(event));
3881 if((event == module_event_new || event == module_event_pass) &&
3892 if(iq && event == module_event_pass) {
3897 process_response(qstate, iq, ie, id, outbound, event);
3900 if(event == module_event_error) {
3901 verbose(VERB_ALGO, "got called with event error, giving up");
3902 errinf(qstate, "iterator module got the error event");
3907 log_err("bad event for iterator");
3908 errinf(qstate, "iterator module received wrong event");