summaryrefslogtreecommitdiff
path: root/doc/reference/libpurple/signals_core.md
blob: ae7396d687880e2becc36e087c1842d76b4d1a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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.