validate_context_iterate_rcpt

March 26, 2020 Contributors

Name

validate_context_iterate_rcpt — Function to iterate through recipient list

Synopsis

#include "validate.h"

| int **validate_context_iterate_rcpt** ( | ctx, |   |
|   | pos, |   |
|   | addr); |   |

validate_context * <var class="pdparam">ctx</var>;
int <var class="pdparam">pos</var>;
char ** <var class="pdparam">addr</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 iterate through recipient list.

Parameters

ctx
  • validation context.
pos
  • the position where address is to be returned. The first address corresponds to pos = 0.
addr
  • pointer to a pointer of ec_string where address is stored. If invalid pos, NULL is returned.

Return Values

next position in the list. If no more address is available, -1 is returned.