Method
PurpleProtocolFileTransfersend_async
unstable since: 3.0
Declaration [src]
void
purple_protocol_file_transfer_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
fromtransfer
.
Available since: 3.0
This method completes asynchronously. Use purple_protocol_file_transfer_send_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
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.The argument can be NULL
. data
-
Type:
gpointer
User data to pass to
callback
.The argument can be NULL
.The data is owned by the caller of the method.