Changeset 5034:f467353f5657 for bcache.h

Show
Ignore:
Timestamp:
2007-03-31 18:50:39 (20 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
default
Message:

Add tmp flag to bcache_put, create bcache_commit.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bcache.h

    r5020 r5034  
    4949 
    5050FILE* mutt_bcache_get(body_cache_t *bcache, const char *id); 
    51 FILE* mutt_bcache_put(body_cache_t *bcache, const char *id); 
     51/* tmp: the returned FILE* is in a temporary location. 
     52 *      if set, use mutt_bcache_commit to put it into place */ 
     53FILE* mutt_bcache_put(body_cache_t *bcache, const char *id, int tmp); 
     54int mutt_bcache_commit(body_cache_t *bcache, const char *id); 
    5255int mutt_bcache_move(body_cache_t *bcache, const char *id, const char *newid); 
    5356int mutt_bcache_del(body_cache_t *bcache, const char *id);