Skip to main content

Name

sieve_arg_as_number — Get the specified argument(s) as a number

Synopsis

#include "sieve/ecsieve.h"

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

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

Description

Get the specified argument(s) as a number.

Parameters

args

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

number

The number (signed 32-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?