Fri, 31 Jan 2014 18:02:20 +0530
Merge gtkdoc-conversion
|
35389
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
1 | <?xml version='1.0' encoding="ISO-8859-1"?> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
3 | "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
4 | ]> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
5 | <chapter id="chapter-signals-connection"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
6 | <title>Connection signals</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
7 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
8 | <refsect1 id="connections.signals" role="signal_proto"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
9 | <title role="signal_proto.title">List of signals</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
10 | <synopsis> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
11 | "<link linkend="connections-signing-on">signing-on</link>" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
12 | "<link linkend="connections-signed-on">signed-on</link>" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
13 | "<link linkend="connections-autojoin">autojoin</link>" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
14 | "<link linkend="connections-signing-off">signing-off</link>" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
15 | "<link linkend="connections-signed-off">signed-off</link>" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
16 | "<link linkend="connections-connection-error">connection-error</link>" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
17 | </synopsis> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
18 | </refsect1> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
19 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
20 | <refsect1 id="connections.signal-details" role="signals"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
21 | <title role="signals.title">Signal details</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
22 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
23 | <refsect2 id="connections-signing-on" role="signal"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
24 | <title>The <literal>"signing-on"</literal> signal</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
25 | <programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
26 | void user_function (PurpleConnection *gc, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
27 | gpointer user_data) |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
28 | </programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
29 | <para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
30 | Emitted when a connection is about to sign on. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
31 | </para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
32 | <variablelist role="params"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
33 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
34 | <term><parameter>gc</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
35 | <listitem><simpara>The connection that is about to sign on.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
36 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
37 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
38 | <term><parameter>user_data</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
39 | <listitem><simpara>user data set when the signal handler was connected.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
40 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
41 | </variablelist> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
42 | </refsect2> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
43 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
44 | <refsect2 id="connections-signed-on" role="signal"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
45 | <title>The <literal>"signed-on"</literal> signal</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
46 | <programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
47 | void user_function (PurpleConnection *gc, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
48 | gpointer user_data) |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
49 | </programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
50 | <para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
51 | Emitted when a connection has signed on. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
52 | </para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
53 | <variablelist role="params"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
54 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
55 | <term><parameter>gc</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
56 | <listitem><simpara>The connection that has signed on.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
57 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
58 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
59 | <term><parameter>user_data</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
60 | <listitem><simpara>user data set when the signal handler was connected.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
61 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
62 | </variablelist> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
63 | </refsect2> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
64 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
65 | <refsect2 id="connections-autojoin" role="signal"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
66 | <title>The <literal>"autojoin"</literal> signal</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
67 | <programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
68 | gboolean user_function (PurpleConnection *gc, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
69 | gpointer user_data) |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
70 | </programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
71 | <para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
72 | Emitted when a connection has signed on, after the signed-on signal, to signal UIs to autojoin chats if they wish. UIs should connect to this with <literal>PURPLE_SIGNAL_PRIORITY_HIGHEST</literal> to allow plugins to block this signal before the UI sees it and then re-emit it later. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
73 | </para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
74 | <variablelist role="params"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
75 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
76 | <term><parameter>gc</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
77 | <listitem><simpara>The connection that has signed on.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
78 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
79 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
80 | <term><parameter>user_data</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
81 | <listitem><simpara>user data set when the signal handler was connected.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
82 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
83 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
84 | <term><emphasis>Returns</emphasis> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
85 | <listitem><simpara><literal>TRUE</literal> if the signal was handled or <literal>FALSE</literal> otherwise. In practice, the return value is irrelevant, as it really only exists so plugins can block the UI's autojoin.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
86 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
87 | </variablelist> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
88 | </refsect2> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
89 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
90 | <refsect2 id="connections-signing-off" role="signal"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
91 | <title>The <literal>"signing-off"</literal> signal</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
92 | <programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
93 | void user_function (PurpleConnection *gc, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
94 | gpointer user_data) |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
95 | </programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
96 | <para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
97 | Emitted when a connection is about to sign off. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
98 | </para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
99 | <variablelist role="params"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
100 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
101 | <term><parameter>gc</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
102 | <listitem><simpara>The connection that is about to sign off.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
103 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
104 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
105 | <term><parameter>user_data</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
106 | <listitem><simpara>user data set when the signal handler was connected.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
107 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
108 | </variablelist> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
109 | </refsect2> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
110 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
111 | <refsect2 id="connections-signed-off" role="signal"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
112 | <title>The <literal>"signed-off"</literal> signal</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
113 | <programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
114 | void user_function (PurpleConnection *gc, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
115 | gpointer user_data) |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
116 | </programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
117 | <para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
118 | Emitted when a connection has signed off. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
119 | </para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
120 | <variablelist role="params"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
121 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
122 | <term><parameter>gc</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
123 | <listitem><simpara>The connection that has signed off.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
124 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
125 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
126 | <term><parameter>user_data</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
127 | <listitem><simpara>user data set when the signal handler was connected.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
128 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
129 | </variablelist> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
130 | </refsect2> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
131 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
132 | <refsect2 id="connections-connection-error" role="signal"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
133 | <title>The <literal>"connection-error"</literal> signal</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
134 | <programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
135 | void user_function (PurpleConnection *gc, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
136 | PurpleConnectionError err, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
137 | const gchar *desc, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
138 | gpointer user_data) |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
139 | </programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
140 | <para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
141 | Emitted when a connection error occurs, before <literal>"signed"</literal>-off. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
142 | </para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
143 | <variablelist role="params"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
144 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
145 | <term><parameter>gc</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
146 | <listitem><simpara>The connection on which the error has occurred.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
147 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
148 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
149 | <term><parameter>err</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
150 | <listitem><simpara>The error that occurred.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
151 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
152 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
153 | <term><parameter>desc</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
154 | <listitem><simpara>A description of the error, giving more information.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
155 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
156 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
157 | <term><parameter>user_data</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
158 | <listitem><simpara>user data set when the signal handler was connected.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
159 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
160 | </variablelist> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
161 | </refsect2> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
162 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
163 | </refsect1> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
164 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
165 | </chapter> |