Constructor
XemeOutputStreamnew
since: 0.1
Declaration [src]
XemeOutputStream*
xeme_output_stream_new (
const char* to,
const char* from,
GCancellable* cancellable
)
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:
GCancellableA
GCancellablefor 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. |