Show
Ignore:
Timestamp:
2007-04-05 17:33:47 (22 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Keep hcache pointer in idata, open and close with mailbox

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imap/imap_private.h

    r5064 r5073  
    2525#include "mutt_socket.h" 
    2626#include "bcache.h" 
     27#ifdef USE_HCACHE 
     28#include "hcache.h" 
     29#endif 
    2730 
    2831/* -- symbols -- */ 
     
    209212  /* all folder flags - system flags AND keywords */ 
    210213  LIST *flags; 
     214#ifdef USE_HCACHE 
     215  header_cache_t *hcache; 
     216#endif 
    211217} IMAP_DATA; 
    212218/* I wish that were called IMAP_CONTEXT :( */ 
     
    254260/* util.c */ 
    255261#ifdef USE_HCACHE 
    256 void* imap_hcache_open (IMAP_DATA* idata, const char* path); 
     262header_cache_t* imap_hcache_open (IMAP_DATA* idata, const char* path); 
    257263#endif 
    258264