Virtual Method

CamelMediumadd_header

Declaration [src]

void
add_header (
  CamelMedium* medium,
  const gchar* name,
  const gchar* value
)

Description [src]

Adds a header to a CamelMedium.

Parameters

name

Type: const gchar*

Name of the header.

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

Type: const gchar*

Value of the header.

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