pre_mailq_message_requeue

March 26, 2020

Name

pre_mailq_message_requeue — Invoked immediately prior to a message requeue action caused by a delivery failure.

Synopsis

#include "hooks/core/pre_mailq_message_requeue.h"

| void **core_pre_mailq_message_requeue** ( | closure, |   |
|   | msg, |   |
|   | now); |   |

void * <var class="pdparam">closure</var>;
ec_message * <var class="pdparam">msg</var>;
struct timeval * <var class="pdparam">now</var>;

Description

Functions registered at this hook will be invoked immediately prior to a message requeue action caused by a delivery failure.

Parameters

closure

A pointer to the closure function.

msg

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

now

The current scheduler time.

Return Values

This hook returns void.

Threading

This hook will be called in the Scheduler thread.

See Also

msg_dispose