Mercurial > pidgin.yaz
annotate doc/core-signals.dox @ 32211:d1ea32c41634
log_reader: strchr(), and some simplifying to make clang happier
Clang's static analyzer thought 'line' might result in a null deref
in the trillian log reader, if there was an empty "(Link: )" section
(temp would be NULL), except that couldn't ever happen, because the data
was *always* \n-terminated, so 'c' is alway non-NULL.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 21 Jul 2011 05:36:54 +0000 |
parents | 4179ab2cfe1f |
children |
rev | line source |
---|---|
12053 | 1 /** @page core-signals Core Signals |
2 | |
3 @signals | |
4 @signal quitting | |
28257
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
5 @signal uri-handler |
12053 | 6 @endsignals |
7 | |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16196
diff
changeset
|
8 @see core.h |
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16196
diff
changeset
|
9 |
12053 | 10 <hr> |
11 | |
12 @signaldef quitting | |
13 @signalproto | |
14 void (*quitting)(); | |
15 @endsignalproto | |
16 @signaldesc | |
16196 | 17 Emitted when libpurple is quitting. |
12053 | 18 @endsignaldef |
19 | |
28257
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
20 @signaldef uri-handler |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
21 @signalproto |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
22 gboolean (*uri_handler)(const gchar *proto, const gchar *cmd, GHashTable *params); |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
23 @endsignalproto |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
24 @signaldesc |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
25 Emitted when handling a registered URI. |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
26 @param proto The protocol of the URI. |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
27 @param cmd The 'command' of the URI. |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
28 @param params Any key/value parameters from the URI. |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
29 @endsignaldef |
4179ab2cfe1f
Document the uri-handler signal. Did I get this right?
Etan Reisner <pidgin@unreliablesource.net>
parents:
20807
diff
changeset
|
30 |
12053 | 31 */ |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16196
diff
changeset
|
32 // vim: syntax=c.doxygen tw=75 et |