Constructor
PurpleXfernew
Declaration [src]
PurpleXfer*
purple_xfer_new (
PurpleAccount* account,
PurpleXferType type,
const char* who
)
Parameters
account
-
Type:
PurpleAccount
The account sending or receiving the file.
The data is owned by the caller of the function. type
-
Type:
PurpleXferType
The type of file transfer.
who
-
Type:
const char*
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.
Return value
Type: PurpleXfer
A file transfer handle.
The caller of the function takes ownership of the data, and is responsible for freeing it. |