diff options
author | Not Zed <NotZed@Ximian.com> | 2002-07-31 13:54:30 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-07-31 13:54:30 +0800 |
commit | 8ff3a3a595a1cd9ae6e9d37be83b0f231e3dc9e5 (patch) | |
tree | 613c45f004c3a21d1256357405db5b81411b2e5b /addressbook/backend | |
parent | 8137a35173541e4a5a3ed180b6493f2166d08ac1 (diff) | |
download | gsoc2013-evolution-8ff3a3a595a1cd9ae6e9d37be83b0f231e3dc9e5.tar gsoc2013-evolution-8ff3a3a595a1cd9ae6e9d37be83b0f231e3dc9e5.tar.gz gsoc2013-evolution-8ff3a3a595a1cd9ae6e9d37be83b0f231e3dc9e5.tar.bz2 gsoc2013-evolution-8ff3a3a595a1cd9ae6e9d37be83b0f231e3dc9e5.tar.lz gsoc2013-evolution-8ff3a3a595a1cd9ae6e9d37be83b0f231e3dc9e5.tar.xz gsoc2013-evolution-8ff3a3a595a1cd9ae6e9d37be83b0f231e3dc9e5.tar.zst gsoc2013-evolution-8ff3a3a595a1cd9ae6e9d37be83b0f231e3dc9e5.zip |
Added global cameldatacache for managing remote image cache.
2002-07-31 Not Zed <NotZed@Ximian.com>
* mail-display.c: Added global cameldatacache for managing remote
image cache.
(fetch_remote): Lookup data in cache first, use that if available,
or setup a new cache item.
(fetch_data): Write any retrieved data to cache as well as html
stream.
(fetch_free): Unref cache stream.
(fetch_done):
(fetch_cancel): If failed/cancelled, remove cache items so they
dont foul the result. Probably need a header in cache items to
guarantee this, but this is ok for now.
(mail_display_class_init): Setup cache structure. Also ensure
globals are initialised at-most once.
svn path=/trunk/; revision=17652
Diffstat (limited to 'addressbook/backend')
0 files changed, 0 insertions, 0 deletions