Skip to main content

Name

sieve_arg_as_numeric — Obtain a numeric Sieve argument from either a string or a number representation

Synopsis

#include "sieve/ecsieve.h"

| int **sieve_arg_as_numeric** ( | args, |   | |   | number); |   |

SIEVEARGS * <var class="pdparam">args</var>; int64_t * <var class="pdparam">number</var>;

Description

Obtain a numeric Sieve argument from either a string or a number representation.

Parameters

args

The Sieve argument. For a definiton of this data type see structs.sieve_ast.

number

The resulting number (signed 64-bit).

Return Values

This function returns 1 on success and 0 on failure.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?