rfc2822_address_parse
Last updated March 2020
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.
- ctx
- hdr
-
The header.
- addrlen
-
The length of the address.
On success this function returns the number of addresses. On failure this function returns 0
.
It is legal to call this function in any thread.
See Also
Was this page helpful?