doc/reference/libpurple/signals_core.md

Thu, 21 Jul 2022 01:10:22 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 21 Jul 2022 01:10:22 -0500
changeset 41454
7cc69bde919d
parent 41164
d861b10105fb
child 42095
01e68f28576f
permissions
-rw-r--r--

Update pidgin for the purple_account_manager_get_(in)active deprecations

Testing Done:
Compiled and made sure the menus still functioned as expected.

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

Title: Core Signals
Slug: core-signals

## Core Signals

### Signal List

* [core-quitting](#quitting)
* [core-uri-handler](#uri-handler)

### Signal Details

#### quitting

```c
void user_function(gpointer user_data);
```

Emitted when libpurple is quitting.

**Parameters:**

**user_data**
: User data set when the signal handler was connected.

----

#### uri-handler

```c
gboolean user_function(const gchar *proto,
                       const gchar *cmd,
                       GHashTable *params,
                       gpointer user_data);
```

Emitted when handling a registered URI.

**Parameters:**

**proto**
: The protocol of the URI.

**cmd**
: The 'command' of the URI.

**params**
: Any key/value parameters from the URI.

**user_data**
: User data set when the signal handler was connected.

mercurial