Method

PurpleXferread

since: 2.0.0

Declaration [src]

gssize
purple_xfer_read (
  PurpleXfer* xfer,
  guchar** buffer
)

Description [src]

Reads in data from a file transfer stream.

Available since: 2.0.0

Parameters

buffer

Type: guchar**

The buffer that will be created to contain the data.

The data is owned by the caller of the function.

Return value

Type: gssize

The number of bytes read, or -1.