PurpleXfer* purple_xfer_new ( PurpleAccount* account, PurpleXferType type, const char* who )
Creates a new file transfer handle. This is called by protocols.
The account sending or receiving the file.
The data is owned by the caller of the function.
The type of file transfer.
The name of the remote user.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
A file transfer handle.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|