Skip to main content

domain_requires_master_scheduler

Last updated March 2020

Name

domain_requires_master_scheduler

Synopsis

#include "hooks/core/domain_requires_master_scheduler.h"

| int **domain_requires_master_scheduler** ( | closure, |   | |   | domain); |   |

void * <var class="pdparam">closure</var>; const char * <var class="pdparam">domain</var>;

| int **has_core_domain_requires_master_scheduler_hook** ( | ); |   |

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

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

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

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

| int **call_core_domain_requires_master_scheduler_hook** ( | domain); |   |

const char * <var class="pdparam">domain</var>;

Description

This hook is called whenever a scheduler is not defined for a given domain and one needs to be selected. Providers returning 1 will cause the listed domain to always be assigned to the master scheduler. This is for purposes of mail queue maintenance.

Was this page helpful?