Skip to main content

Name

sieve_seng_prepare2 — Prepare to execute a Sieve script

Synopsis

#include "sieve/ecsieve.h"

| SENG * **sieve_seng_prepare2** ( | sieve, |   | |   | phase, |   | |   | bag); |   |

SIEVE * <var class="pdparam">sieve</var>; const char * <var class="pdparam">phase</var>; ec_bag * <var class="pdparam">bag</var>;

Description

Prepare to execute a Sieve script.

Note

Use sieve_free_seng to release memory associated with a SENG.

Parameters

sieve

The script.

phase

The phase in which the script should execute. This must be a valid C identifier.

bag

Use sieve_get_bag to retrieve ec_bag items. For a description of this data type see ec_bag.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?