Interface

PurpleProtocolXfer

Description

interface Purple.ProtocolXfer : Purple.Protocol
No description available.

Prerequisite

In order to implement ProtocolXfer, your type must inherit from PurpleProtocol.

Instance methods

purple_protocol_xfer_can_receive

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

purple_protocol_xfer_new_xfer

Creates a new PurpleXfer to who.

purple_protocol_xfer_send_file

Sends filename to who.

Interface structure

struct PurpleProtocolXferInterface {
  gboolean (* can_receive) (
    PurpleProtocolXfer* prplxfer,
    PurpleConnection* connection,
    const gchar* who
  );
  void (* send_file) (
    PurpleProtocolXfer* prplxfer,
    PurpleConnection* connection,
    const gchar* who,
    const gchar* filename
  );
  PurpleXfer* (* new_xfer) (
    PurpleProtocolXfer* prplxfer,
    PurpleConnection* connection,
    const gchar* who
  );
  
}
Interface members
can_receive
gboolean (* can_receive) (
    PurpleProtocolXfer* prplxfer,
    PurpleConnection* connection,
    const gchar* who
  )
 No description available.
send_file
void (* send_file) (
    PurpleProtocolXfer* prplxfer,
    PurpleConnection* connection,
    const gchar* who,
    const gchar* filename
  )
 No description available.
new_xfer
PurpleXfer* (* new_xfer) (
    PurpleProtocolXfer* prplxfer,
    PurpleConnection* connection,
    const gchar* who
  )
 No description available.

Virtual methods

Purple.ProtocolXfer.can_receive

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

Purple.ProtocolXfer.new_xfer

Creates a new PurpleXfer to who.

Purple.ProtocolXfer.send_file

Sends filename to who.