final_validation
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.
- 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”
This hook returns void
.
This hook will be called in any thread.