sieve_parse_file

March 26, 2020 Contributors

Name

sieve_parse_file — Parse/compile a Sieve script from a file

Synopsis

#include "sieve/ecsieve.h"

| SIEVE * **sieve_parse_file** ( | filename, |   |
|   | error_log); |   |

const char * <var class="pdparam">filename</var>;
string * <var class="pdparam">error_log</var>;

Description

Parse/compile a Sieve script from a file. The script must be UTF-8 encoded, as per RFC 3028.

Parameters

filename

The file name.

error_log

The message to write to the paniclog. This parameter can be NULL.

Return Value

This function returns a SIEVE pointer.

Threading

It is legal to call this function in any thread.

See Also

Section 68.75, “SIEVE (sieve_state)”