Constructor

XemeOutputStreamnew

since: 0.1

Declaration [src]

XemeOutputStream*
xeme_output_stream_new (
  const char* to,
  const char* from,
  GCancellable* cancellable
)

Description [src]

Creates a new output stream.

Available since: 0.1

Parameters

to

Type: const char*

The jid of the recipient.

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

Type: const char*

The jid of the sender.

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

Type: GCancellable

A GCancellable for the stream.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: XemeOutputStream

The new instance.

The caller of the function takes ownership of the data, and is responsible for freeing it.