Method

CamelAddressdecode

Declaration [src]

gint
camel_address_decode (
  CamelAddress* addr,
  const gchar* raw
)

Description [src]

Construct a new address from a raw address field.

Parameters

raw

Type: const gchar*

Raw address description.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gint

The number of addresses parsed or -1 on fail.