Function

PurpleXfererror

Declaration [src]

void
purple_xfer_error (
  PurpleXferType type,
  PurpleAccount* account,
  const char* who,
  const char* msg
)

Description [src]

Displays a file transfer-related error message.

This is a wrapper around purple_notify_error(), which automatically specifies a title (“File transfer to user failed” or “File Transfer from user failed”).

Parameters

type

Type: PurpleXferType

The type of file transfer.

account

Type: PurpleAccount

The account sending or receiving the file.

The data is owned by the caller of the function.
who

Type: const char*

The user on the other end of the transfer.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
msg

Type: const char*

The message to display.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.