validate_context_add_rcpt

March 26, 2020 Contributors

Name

validate_context_add_rcpt — Function to append an addr to the list

Synopsis

#include "validate.h"

| int **validate_context_add_rcpt** ( | ctx, |   |
|   | addr, |   |
|   | uniq); |   |

validate_context * <var class="pdparam">ctx</var>;
const char * <var class="pdparam">addr</var>;
int <var class="pdparam">uniq</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.

Function to append an addr to the list.

Parameters

ctx
  • validation context.
addr
  • address to be added.
uniq
  • if true, check for duplicate before adding the address.

Return Values

position where addr is added. -1 if not added (duplicate).

**Configuration Change. ** This feature is available starting from Momentum 3.1.