Skip to main content

Name

rfc2822_address_parse — Parse an rfc2822 address

Synopsis

#include "sieve/address.h"

| int **rfc2822_address_parse** ( | ctx, |   | |   | hdr, |   | |   | hdrlen); |   |

rfc2822_address_context * <var class="pdparam">ctx</var>; const char * <var class="pdparam">hdr</var>; int <var class="pdparam">hdrlen</var>;

Description

Parse an rfc2822 address.

Parameters

ctx
hdr

The header.

addrlen

The length of the address.

Return Values

On success this function returns the number of addresses. On failure this function returns 0.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?