Tue, 17 Nov 2020 22:05:15 -0600
Use gio for bonjour xfer closing.
Just one more thing I missed because it used `recv` unlike everything else.
Testing Done:
Send/receive with bonjour on the same machine, checking debug window for errors.
Reviewed at https://reviews.imfreedom.org/r/228/
|
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-log"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
6 | <title>Log 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="logs.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="logs-log-timestamp">log-timestamp</link>" |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
12 | </synopsis> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
13 | </refsect1> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
14 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
15 | <refsect1 id="logs.signal-details" role="signals"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
16 | <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
|
17 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
18 | <refsect2 id="logs-log-timestamp" role="signal"> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
19 | <title>The <literal>"log-timestamp"</literal> signal</title> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
20 | <programlisting> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
21 | char * user_function (PurpleLog *log, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
22 | time_t when, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
23 | gboolean show_date, |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
24 | gpointer user_data) |
|
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 | <para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
27 | Emitted to allow plugins to customize the timestamp on a message being logged. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
28 | </para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
29 | <note><para> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
30 | Plugins must be careful of logs with a type of PURPLE_LOG_SYSTEM. |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
31 | </para></note> |
|
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>log</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
35 | <listitem><simpara>The log the message belongs to.</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>when</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
39 | <listitem><simpara>The time to be converted to a string.</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 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
42 | <term><parameter>show_date</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
43 | <listitem><simpara>Whether the date should be displayed.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
44 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
45 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
46 | <term><parameter>user_data</parameter> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
47 | <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
|
48 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
49 | <varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
50 | <term><emphasis>Returns</emphasis> :</term> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
51 | <listitem><simpara>A textual representation of the time, or <literal>NULL</literal> to use a default format.</simpara></listitem> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
52 | </varlistentry> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
53 | </variablelist> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
54 | </refsect2> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
55 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
56 | </refsect1> |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
57 | |
|
884a5385bb2c
Added doc/reference directory with the documentation .xml files
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
58 | </chapter> |