sieve_compare_operands

March 26, 2020 Contributors

Name

sieve_compare_operands — execute a sieve comparator match

Synopsis

#include "sieve/ecsieve.h"

| int **sieve_compare_operands** ( | seng, |   |
|   | comp, |   |
|   | left, |   |
|   | right); |   |

SENG * <var class="pdparam">seng</var>;
struct sieve_compare_info * <var class="pdparam">comp</var>;
SIEVEARGS * <var class="pdparam">left</var>;
SIEVEARGS * <var class="pdparam">right</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.

execute a sieve comparator match.

Performs a standard sieve matching operation, based on the comparison information provided.

If the right operand was previously compiled, that compiled state will be re-used.

Return Values

Returns a boolean to indicate a successful match according to the criteria provided.