Mercurial > pidgin
diff src/log.h @ 8096:81079e3eda47
[gaim-migrate @ 8795]
i tend to agree with javabsp that even though this doesn't affect the
O(n^2)-ness of the sort, that its still better than before since reading
the whole file over is huge in and of itself
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Tue, 13 Jan 2004 17:16:08 +0000 |
| parents | fa6395637e2c |
| children | 7dcd6f26e4a7 |
line wrap: on
line diff
--- a/src/log.h Tue Jan 13 16:05:38 2004 +0000 +++ b/src/log.h Tue Jan 13 17:16:08 2004 +0000 @@ -83,6 +83,10 @@ /** Given one of the logs returned by the logger's list function, * this returns the size of the log in bytes */ int (*size)(GaimLog *log); + + /** Returns the total size of all the logs. If this is undefined a default + * implementation is used */ + int (*total_size)(const char *name, GaimAccount *account); }; /**
