rfc2821_address_parse
Last updated March 2020
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.
- addr
-
The address to be parsed.
- addrlen
-
The length of the address.
- ctx
-
See rfc2821_ctx.
On success this function returns 0
and populates the rfc2821_ctx passed in. On failure this function returns -1
.
It is legal to call this function in any thread.
See Also
Was this page helpful?