Skip to main content

Name

disk_queue_core_inject

Synopsis

#include "hooks/core/disk_queue_core_inject.h"

| void **disk_queue_core_inject** ( | closure, |   | |   | em); |   |

void * <var class="pdparam">closure</var>; email_message * <var class="pdparam">em</var>;

| int **has_core_disk_queue_core_inject_hook** ( | ); |   |

| void **register_core_disk_queue_core_inject_hook_first** ( | hook, |   | |   | closure); |   |

ec_hook_core_disk_queue_core_inject_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| void **register_core_disk_queue_core_inject_hook_last** ( | hook, |   | |   | closure); |   |

ec_hook_core_disk_queue_core_inject_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| void **call_core_disk_queue_core_inject_hook** ( | em); |   |

email_message * <var class="pdparam">em</var>;

Description

Functions registered in at this hook will be invoked within disk_queue_core_inject immediately before the message is put into the in-memory queue. This hook will not be called if the message fails to spool in or gets expired within disk_queue_core_inject. The argument em is a message that has just been spooled in from disk.

This Hook is not supported currently.

Was this page helpful?