Skip to main content

Name

sieve_error — Create a Sieve error message

Synopsis

#include "sieve/ecsieve.h"

| void **sieve_error** ( | sieve, |   | |   | lineno, |   | |   | fmt, |   | |   | ...); |   |

SIEVE * <var class="pdparam">sieve</var>; int <var class="pdparam">lineno</var>; const char * <var class="pdparam">fmt</var>; <var class="pdparam">...</var>;

Description

Write a Sieve error message. This function appends output to the _sieve_state error_log if that data member is set.

Parameters

sieve

The active script. For more information about this data type see sieve.

lineno

The line number where the error occurred.

fmt

The string with embedded format specifier(s).

...

The variable argument(s) for the format string.

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

Was this page helpful?