since: 2.0.0

Declaration [src]

purple_xfer_set_bytes_sent (
  PurpleXfer* xfer,
  goffset bytes_sent

Description [src]

Sets the current working position in the active file transfer. This can be used to jump backward in the file if the protocol detects that some bit of data needs to be resent or has been sent twice.

It’s used for pausing and resuming an oscar file transfer.

Available since: 2.0.0

Sets propertyPurple.Xfer:bytes-sent



Type: goffset

The new current position in the file. If we’re sending a file then this is the next byte that we will send. If we’re receiving a file, this is the next byte that we expect to receive.