Method

PurpleXferwrite_file

since: 2.11.0

Declaration [src]

gboolean
purple_xfer_write_file (
  PurpleXfer* xfer,
  const guchar* buffer,
  gsize size
)

Description [src]

Writes chunk of received file.

Available since: 2.11.0

Parameters

buffer

Type: const guchar*

The buffer to read the data from.

The data is owned by the caller of the function.
size

Type: gsize

The number of bytes to write.

Return value

Type: gboolean

TRUE on success, FALSE otherwise.