view doc/log-signals.dox @ 13692:ea77ce998dc7

[gaim-migrate @ 16095] Part of SF Patch #1437836 from Sadrul "1. gaim_privacy_[permit|deny]_remove checks whether the buddy in the list. So it is not necessary to do that before calling these functions. (first block in the patch)" Additionally, it does a gaim_normalize()d UTF-8 compare, which should be better than strcmp(). committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 25 Apr 2006 17:27:17 +0000
parents a1e241dd50b6
children f94309c7c480
line wrap: on
line source

/** @page log-signals Log Signals

 @signals
  @signal log-timestamp
 @endsignals

 <hr>

 @signaldef log-timestamp
  @signalproto
char *(*log_timestamp)(GaimConversation *conv, struct tm *tm);
  @endsignalproto
  @signaldesc
   Emitted to allow plugins to customize the timestamp on a message
   being logged.
  @param log The log the message belongs to.
  @param tm The time to be converted to a string.
  @return A textual representation of the time, or @c NULL to use a
          default format.
  @note Plugins must be careful of logs with a type of GAIM_LOG_SYSTEM.
 @endsignaldef

*/
// vim: syntax=c tw=75 et