Changeset 5020:034ad0e55397 for bcache.h

Show
Ignore:
Timestamp:
2007-03-29 10:30:15 (20 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
default
Message:

Make message cache write to temporary location until file is complete.
Previously mutt trusted the cache file even when it was incomplete,
causing permanently incorrect message display if the fetch was
interrupted for some reason.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bcache.h

    r4684 r5020  
    5050FILE* mutt_bcache_get(body_cache_t *bcache, const char *id); 
    5151FILE* mutt_bcache_put(body_cache_t *bcache, const char *id); 
     52int mutt_bcache_move(body_cache_t *bcache, const char *id, const char *newid); 
    5253int mutt_bcache_del(body_cache_t *bcache, const char *id); 
    5354int mutt_bcache_exists(body_cache_t *bcache, const char *id);