Skip to main content

Name

rfc2821_address_parse — Parse an rfc2821 address

Synopsis

#include "misc/rfc2821addr.h"

| int **rfc2821_address_parse** ( | addr, |   | |   | addrlen, |   | |   | ctx); |   |

const char * <var class="pdparam">addr</var>; int <var class="pdparam">addrlen</var>; rfc2821_ctx * <var class="pdparam">ctx</var>;

Description

Parse an rfc2821 address.

Parameters

addr

The address to be parsed.

addrlen

The length of the address.

ctx

Return Values

On success this function returns 0 and populates the rfc2821_ctx passed in. On failure this function returns -1.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?