sieve_get_arg

March 26, 2020 Contributors

Name

sieve_get_arg — Get the argument at the specified index

Synopsis

#include "sieve/ecsieve.h"

| SIEVEARGS * **sieve_get_arg** ( | args, |   |
|   | n); |   |

SIEVEARGS * <var class="pdparam">args</var>;
int <var class="pdparam">n</var>;

Description

Get the argument at the specified zero-based index.

You must call sieve_arg_delref when you are done using the item.

Parameters

args

The argument list.

n

Which argument to examine, indexed from 0.

Return Values

The argument at the specified index is returned.

Threading

It is legal to call this function in any thread.

See Also

Section 68.76, “SIEVEARGS (sieve_ast)”