| 347 GList *gaim_log_common_lister(GaimLogType type, const char *name, |
347 GList *gaim_log_common_lister(GaimLogType type, const char *name, |
| 348 GaimAccount *account, const char *ext, |
348 GaimAccount *account, const char *ext, |
| 349 GaimLogLogger *logger); |
349 GaimLogLogger *logger); |
| 350 |
350 |
| 351 /** |
351 /** |
| |
352 * Returns the total size of all the logs for a given user, with |
| |
353 * a given extension. This is the "common" implemention of a |
| |
354 * logger's total_size function. |
| |
355 * This function should only be used with logs that are written |
| |
356 * with gaim_log_common_writer(). |
| |
357 * |
| |
358 * @param type The type of the logs being sized. |
| |
359 * @param name The name of the logs to size |
| |
360 * (e.g. the username or chat name). |
| |
361 * @param account The account of the log. |
| |
362 * @param ext The file extension this log format uses. |
| |
363 * |
| |
364 * @return The size of all the logs with the specified extension |
| |
365 * for the specified user. |
| |
366 */ |
| |
367 int gaim_log_common_total_sizer(GaimLogType type, const char *name, |
| |
368 GaimAccount *account, const char *ext); |
| |
369 |
| |
370 /** |
| 352 * Returns the size of a given GaimLog. |
371 * Returns the size of a given GaimLog. |
| 353 * This function should only be used with logs that are written |
372 * This function should only be used with logs that are written |
| 354 * with gaim_log_common_writer(). |
373 * with gaim_log_common_writer(). |
| 355 * |
374 * |
| 356 * @param log The GaimLog to size. |
375 * @param log The GaimLog to size. |