Method
PurpleProtocolFileTransferreceive_async
unstable since: 3.0
Declaration [src]
void
purple_protocol_file_transfer_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:cancellablefromtransfer.
Available since: 3.0
This method completes asynchronously. Use purple_protocol_file_transfer_receive_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
transfer- 
            
Type:
PurpleFileTransferThe file transfer to send.
The data is owned by the caller of the method.  callback- 
            
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is satisfied.The argument can be NULL. data- 
            
Type:
gpointerUser data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.