lookuptable_add2

March 26, 2020

Name

lookuptable_add2 — Adds a message to the lookuptable, and calls dns_get_MXs if the domain wasn’t in the lookuptable already

Synopsis

#include "lookuptable.h"

| void **lookuptable_add2** ( | mess, |   |
|   | routing_domain); |   |

ec_message * <var class="pdparam">mess</var>;
const char * <var class="pdparam">routing_domain</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Adds a message to the lookuptable, and calls dns_get_MXs if the domain wasn’t in the lookuptable already.

This version is more efficient than the normal lookuptable_exists plus lookuptable_add use case since it doesn’t do another routing domain lookup (which also prevents problems if the two lookups return different answers) and only makes one pass over the lookuptable hash bucket.

Parameters

mess

the message to add

routing_domain

the routing domain of the message