doc/reference/libpurple/signals_xfer.md

Wed, 17 Aug 2022 04:09:59 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Wed, 17 Aug 2022 04:09:59 -0500
changeset 41504
70d9d0552b04
parent 41164
d861b10105fb
permissions
-rw-r--r--

Remove the old nsis scripts.

We know we're not going to be using NSIS in the future so there's no reason to
keep this stuff around.

Testing Done:
ran meson to make sure nothing was referencing it.

Reviewed at https://reviews.imfreedom.org/r/1604/

Title: File Transfer Signals
Slug: file-transfer-signals

## File Transfer Signals

### Signal List

* [file-recv-request](#file-recv-request)

### Signal Detail

#### file-recv-request

```c
void user_function(PurpleXfer *xfer, gpointer data);
```

Emitted before the user is prompted for an incoming file-transfer. Plugins can intercept the signal to auto-accept/auto-reject the requests. To auto-accept the file transfer, use purple_xfer_request_accepted(). To auto-reject, set the status of the xfer to PURPLE_XFER_STATUS_CANCEL_LOCAL.

**Parameters:**

**xfer**
: The file transfer.

**data**
: User data.

mercurial