Skip to main content

Name

final_validation — This hook is invoked after the normal validation steps

Synopsis

#include "hooks/core/final_validation.h"

| void **core_final_validation** ( | 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 validation steps have completed and is the recommended hook point to implement message signing prior to spooling the message to disk and attempting delivery.

Parameters

closure

A pointer to the closure function.

msg

A pointer to an ec_message struct. 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

Was this page helpful?