1 <?xml version='1.0' encoding="ISO-8859-1"?>
2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
5 <chapter id="chapter-signals-core">
6 <title>Core signals</title>
8 <refsect1 id="core.signals" role="signal_proto">
9 <title role="signal_proto.title">List of signals</title>
11 "<link linkend="core-quitting">quitting</link>"
12 "<link linkend="core-uri-handler">uri-handler</link>"
16 <refsect1 id="core.signal-details" role="signals">
17 <title role="signals.title">Signal details</title>
19 <refsect2 id="core-quitting" role="signal">
20 <title>The <literal>"quitting"</literal> signal</title>
22 void user_function (gpointer user_data)
25 Emitted when libpurple is quitting.
27 <variablelist role="params">
29 <term><parameter>user_data</parameter> :</term>
30 <listitem><simpara>user data set when the signal handler was connected.</simpara></listitem>
35 <refsect2 id="core-uri-handler" role="signal">
36 <title>The <literal>"uri-handler"</literal> signal</title>
38 gboolean user_function (const gchar *proto,
44 Emitted when handling a registered URI.
46 <variablelist role="params">
48 <term><parameter>proto</parameter> :</term>
49 <listitem><simpara>The protocol of the URI.</simpara></listitem>
52 <term><parameter>cmd</parameter> :</term>
53 <listitem><simpara>The 'command' of the URI.</simpara></listitem>
56 <term><parameter>params</parameter> :</term>
57 <listitem><simpara>Any key/value parameters from the URI.</simpara></listitem>
60 <term><parameter>user_data</parameter> :</term>
61 <listitem><simpara>user data set when the signal handler was connected.</simpara></listitem>