Skip to main content

Name

scheduler_reuse_connection — Have the scheduler re-use the connection

Synopsis

#include "mail_queue.h"

| void **scheduler_reuse_connection** ( | dc, |   | |   | domain, |   | |   | newe); |   |

delivery_construct * <var class="pdparam">dc</var>; const char * <var class="pdparam">domain</var>; Event * <var class="pdparam">newe</var>;

Description

Have the scheduler re-use the connection. The caller is responsible for creating newe as a copy of the original event, allocating newe with the memtype MEMTYPE_EVENT. This function takes ownership of newe, and will ensure that the memory for newe is released.

Parameters

dc

A delivery_construct. For documentation of this data structure see “delivery_construct”

domain

A string name of the domain

newe

An event. For documentation of this data structure see “Event”.

Return Values

This function returns void.

Threading

It is legal to call this function in the Scheduler thread.

See Also

Was this page helpful?