Mercurial > pidgin.yaz
diff src/log.h @ 11292:ef9280fdc511
[gaim-migrate @ 13492]
Apparently, users like to know when logging is failing. Who knew?
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 18 Aug 2005 04:14:07 +0000 |
parents | 3924db2b1ca8 |
children | cd0c8830d881 |
line wrap: on
line diff
--- a/src/log.h Thu Aug 18 03:14:29 2005 +0000 +++ b/src/log.h Thu Aug 18 04:14:07 2005 +0000 @@ -113,6 +113,7 @@ char *name; /**< The name of this log */ GaimAccount *account; /**< The account this log is taking place on */ + GaimConversation *conv; /**< The conversation being logged */ time_t time; /**< The time this conversation started */ GaimLogLogger *logger; /**< The logging mechanism this log @@ -170,11 +171,12 @@ * @param name The name of this conversation (screenname, chat name, * etc.) * @param account The account the conversation is occurring on + * @param conv The conversation being logged * @param time The time this conversation started * @return The new log */ -GaimLog *gaim_log_new(GaimLogType type, const char *name, - GaimAccount *account, time_t time); +GaimLog *gaim_log_new(GaimLogType type, const char *name, GaimAccount *account, + GaimConversation *conv, time_t time); /** * Frees a log @@ -316,10 +318,9 @@ * file handle and log path. * * @param log The log to write to. - * @param time The time of the item being logged. * @param ext The file extension to give to this log file. */ -void gaim_log_common_writer(GaimLog *log, time_t time, const char *ext); +void gaim_log_common_writer(GaimLog *log, const char *ext); /** * Returns a sorted GList of GaimLogs of the requested type.