Virtual Method

PurpleProtocolFileTransfersend_async

since: 3.0

Declaration [src]

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

Description [src]

Starts the process of sending 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 function.
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 function.