Mercurial > pidgin
comparison doc/log-signals.dox @ 13987:f94309c7c480
[gaim-migrate @ 16559]
Change the log-timestamp and conversation-timestamp signals to pass around a time_t instead of a struct tm. Most of this changeset is Ethan's work.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 24 Jul 2006 05:08:30 +0000 |
parents | a1e241dd50b6 |
children | 3df4aadebc20 |
comparison
equal
deleted
inserted
replaced
13986:8a8b4f7f7d99 | 13987:f94309c7c480 |
---|---|
6 | 6 |
7 <hr> | 7 <hr> |
8 | 8 |
9 @signaldef log-timestamp | 9 @signaldef log-timestamp |
10 @signalproto | 10 @signalproto |
11 char *(*log_timestamp)(GaimConversation *conv, struct tm *tm); | 11 char *(*log_timestamp)(GaimConversation *conv, time_t when); |
12 @endsignalproto | 12 @endsignalproto |
13 @signaldesc | 13 @signaldesc |
14 Emitted to allow plugins to customize the timestamp on a message | 14 Emitted to allow plugins to customize the timestamp on a message |
15 being logged. | 15 being logged. |
16 @param log The log the message belongs to. | 16 @param log The log the message belongs to. |
17 @param tm The time to be converted to a string. | 17 @param when The time to be converted to a string. |
18 @return A textual representation of the time, or @c NULL to use a | 18 @return A textual representation of the time, or @c NULL to use a |
19 default format. | 19 default format. |
20 @note Plugins must be careful of logs with a type of GAIM_LOG_SYSTEM. | 20 @note Plugins must be careful of logs with a type of GAIM_LOG_SYSTEM. |
21 @endsignaldef | 21 @endsignaldef |
22 | 22 |