Signal
PurpleXfer::read-local
since: 3.0.0
Description [src]
Read data locally to send to the protocol for a file transfer.
The default class handler will read from a file using standard library
functions. If you connect to this signal, you must connect to
PurpleXfer::open-local
, PurpleXfer::query-local
,
PurpleXfer::write-local
and PurpleXfer::data-not-sent
as well.
Default handler: The default handler is called after the handlers added via |
Available since: 3.0.0 |
Parameters
buffer
-
Type:
gpointer
A pointer to a buffer to fill.
The argument will be set by the function. The argument can be set to NULL
by the signal handler.The called function takes ownership of the data, and is responsible for freeing it. size
-
Type:
glong
The maximum amount of data to put in the buffer.