sieve_get_arg_lineno

March 26, 2020 Contributors

Name

sieve_get_arg_lineno — Get the current line number

Synopsis

#include "sieve/ecsieve.h"

| **sieve_get_arg_lineno** ( | args, |   |
|   | n); |   |

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

Description

Get the current line number; typically used with sieve_error.

Parameters

args

The argument list.

Return Values

On success the line number is returned; otherwise 0 is returned.

Threading

It is legal to call this function in any thread.

See Also

Section 68.76, “SIEVEARGS (sieve_ast)”