domain_requires_master_scheduler

March 26, 2020 Contributors

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.