validate_data_spool_each_rcpt

March 26, 2020

Name

validate_data_spool_each_rcpt — This hook is invoked after the normal validate_data_spool_each_rcpt module callback.

Synopsis

#include "hooks/core/validate_data_spool_each_rcpt.h"

| void **core_validate_data_spool_each_rcpt** ( | closure, |   |
|   | msg, |   |
|   | ac, |   |
|   | ctx); |   |

void * <var class="pdparam">closure</var>;
ec_message * <var class="pdparam">msg</var>;
accept_construct * <var class="pdparam">ac</var>;
validate_context * <var class="pdparam">ctx</var>;

Description

This hook is invoked after the normal validate_data_spool_each_rcpt module callback. The only reason to use this hook point instead of a traditional module callback is that you can guarantee an invocation subsequent to all other modules’ validate_data_spool_each_rcpt callbacks have been performed. The mess and ctx parameters are the same used in the validate_data_spool_each_rcpt traditional module callback.

Parameters

closure

A pointer to the closure function.

msg

An ec_message. For documentation of this data structure see “ec_message”

ac

The accept_construct struct. For documentation of this data structure see “accept_construct”

ctx

The validate_context struct. For documentation of this data structure see “validate_context”

Return Values

This hook returns void.

Threading

This hook will be called in any thread.

See Also

validate_accept and validate_connect