Virtual Method

PurpleProtocolFileTransferreceive_async

unstable since: 3.0

Declaration [src]

void
receive_async (
  PurpleProtocolFileTransfer* protocol,
  PurpleFileTransfer* transfer,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Starts the process of receiving transfer.

Note: This function does not take a cancellable as the protocol should be using PurpleFileTransfer:cancellable from transfer.

Available since: 3.0

Parameters

transfer

Type: PurpleFileTransfer

The file transfer to send.

The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

data

Type: gpointer

User data to pass to callback.

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