X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=init.h;h=c5b325fb1a3a326d96fcd70b3f458088d35459f3;hb=ce2c6b74b93777c66708ef0cfb7cc14ff1bf6a94;hp=4d1e5463ad93ccee6829e2bc65aa85c44d0eabb2;hpb=343f01f15cea5850324e0cab5258849131df17b6;p=apps%2Fmadmutt.git diff --git a/init.h b/init.h index 4d1e546..c5b325f 100644 --- a/init.h +++ b/init.h @@ -1061,6 +1061,34 @@ struct option_t MuttVars[] = { ** \fBDON'T CHANGE THIS SETTING UNLESS YOU ARE REALLY SURE WHAT YOU ARE ** DOING!\fP */ +#if USE_HCACHE + + { "header_cache", DT_PATH, R_NONE, UL &HeaderCache, 0 }, + /* + ** .pp + ** The header_cache variable points to the header cache database. If + ** header_cache points to a directory there will be created one header cache + ** database per folder within this directory. If it doesn't point to a directory a + ** global header cache for all folders is used. Per default it is unset and so + ** no header caching will be used. + */ + { "maildir_header_cache_verify", DT_BOOL, R_NONE, OPTHCACHEVERIFY, 1 }, + /* + ** .pp + ** Check for Maildir unaware programs other than mutt having modified maildir + ** files when the header cache is in use. This incurs one stat(2) per + ** message every time the folder is opened. + */ + { "header_cache_pagesize", DT_STR, R_NONE, UL &HeaderCachePageSize, UL "16384" }, + /* + ** .pp + ** Change the maildir header cache database page size. Too large + ** or too small of a page size for the common header can waste + ** space, memory effectiveness, or CPU time. The default should be more or + ** less the best you can get. For details google after mutt maildir header + ** cache (first hit). + */ +#endif /* USE_HCACHE */ { "maildir_trash", DT_BOOL, R_NONE, OPTMAILDIRTRASH, 0 }, /* ** .pp