Function

Camelheader_token_decode

Declaration [src]

gchar*
camel_header_token_decode (
  const gchar* in
)

Description [src]

Gets the first token in the string according to the rules of rfc0822.

Parameters

in

Type: const gchar*

Input string.

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

Return value

Type: gchar*

A new string containing the first token in in.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.