Method

PurpleProtocolXfercan_receive

since: 3.0

Declaration [src]

gboolean
purple_protocol_xfer_can_receive (
  PurpleProtocolXfer* prplxfer,
  PurpleConnection* connection,
  const gchar* who
)

Description [src]

Checks whether or not we can transfer a file to who.

Available since: 3.0

Parameters

connection

Type: PurpleConnection

The PurpleConnection that we’re checking.

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

Type: const gchar*

The user that we want to send a file transfer to.

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

Return value

Type: gboolean

TRUE on success, FALSE otherwise.