Show
Ignore:
Timestamp:
2007-04-10 17:40:11 (21 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Make IMAP header cache layout match body cache.
You can now make them point to the same directory. Each folder will
have a folder.hcache file for the header cache.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imap/imap_private.h

    r5112 r5115  
    260260/* util.c */ 
    261261#ifdef USE_HCACHE 
    262 int imap_hcache_open (IMAP_DATA* idata); 
     262header_cache_t* imap_hcache_open (IMAP_DATA* idata, const char* path); 
    263263void imap_hcache_close (IMAP_DATA* idata); 
    264264HEADER* imap_hcache_get (IMAP_DATA* idata, unsigned int uid); 
     
    273273char* imap_fix_path (IMAP_DATA* idata, char* mailbox, char* path,  
    274274  size_t plen); 
     275void imap_cachepath(IMAP_DATA* idata, const char* mailbox, char* dest, 
     276                    size_t dlen); 
    275277int imap_get_literal_count (const char* buf, long* bytes); 
    276278char* imap_get_qualifier (char* buf);