Mercurial > pidgin.yaz
annotate doc/log-signals.dox @ 21016:abd768f06e7b
Another patch from Andrew Gaul that plugs a leak:
==15182== 163 bytes in 5 blocks are definitely lost in loss record 116 of 231
==15182== at 0x40054E5: malloc (vg_replace_malloc.c:149)
==15182== by 0xBFFC25: g_malloc (in /lib/libglib-2.0.so.0.1200.13)
==15182== by 0xC132B8: g_strdup (in /lib/libglib-2.0.so.0.1200.13)
==15182== by 0x40A7B9F: purple_url_parse (util.c:3460)
==15182== by 0x4C58C89: yahoo_fetch_aliases (yahoo_aliases.c:152)
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Fri, 26 Oct 2007 05:22:26 +0000 |
parents | e0613cf8c493 |
children | 0d8061bbfc1d |
rev | line source |
---|---|
12737 | 1 /** @page log-signals Log Signals |
2 | |
3 @signals | |
4 @signal log-timestamp | |
5 @endsignals | |
6 | |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16183
diff
changeset
|
7 @see log.h |
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16183
diff
changeset
|
8 |
12737 | 9 <hr> |
10 | |
11 @signaldef log-timestamp | |
12 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
14617
diff
changeset
|
13 char *(*log_timestamp)(PurpleLog *log, time_t when); |
12737 | 14 @endsignalproto |
15 @signaldesc | |
16 Emitted to allow plugins to customize the timestamp on a message | |
17 being logged. | |
18 @param log The log the message belongs to. | |
13987
f94309c7c480
[gaim-migrate @ 16559]
Richard Laager <rlaager@wiktel.com>
parents:
12737
diff
changeset
|
19 @param when The time to be converted to a string. |
12737 | 20 @return A textual representation of the time, or @c NULL to use a |
21 default format. | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
14617
diff
changeset
|
22 @note Plugins must be careful of logs with a type of PURPLE_LOG_SYSTEM. |
12737 | 23 @endsignaldef |
24 | |
25 */ | |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16183
diff
changeset
|
26 // vim: syntax=c.doxygen tw=75 et |