Virtual Method

CamelMimeFiltercomplete

Declaration [src]

void
complete (
  CamelMimeFilter* filter,
  const gchar* in,
  gsize len,
  gsize prespace,
  gchar** out,
  gsize* outlen,
  gsize* outprespace
)

Description [src]

Passes the input buffer, in, through filter and generates an output buffer, out and makes sure that all data is flushed to the output buffer. This must be the last filtering call made, no further calls to camel_mime_filter_filter() may be called on filter until filter has been reset using camel_mime_filter_reset().

Parameters

in

Type: An array of guint8

Input buffer.

The length of the array is specified in the len argument.
The data is owned by the caller of the method.
len

Type: gsize

Length of in.

prespace

Type: gsize

Amount of prespace.

out

Type: An array of guint8

Pointer to the output buffer (to be set).

The argument will be set by the function.
The length of the array is specified in the outlen argument.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
outlen

Type: gsize*

Pointer to the length of the output buffer (to be set).

The argument will be set by the function.
outprespace

Type: gsize*

Pointer to the output prespace length (to be set).

The argument will be set by the function.