X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..07916b2ff:/h/mhcachesbr.h?ds=inline diff --git a/h/mhcachesbr.h b/h/mhcachesbr.h index c735d6e2..6e6beacb 100644 --- a/h/mhcachesbr.h +++ b/h/mhcachesbr.h @@ -1,5 +1,4 @@ -/* - * mhcachesbr.h -- definitions for manipulating MIME content cache +/* mhcachesbr.h -- definitions for manipulating MIME content cache */ /* @@ -15,7 +14,14 @@ #define X(sw, minchars, id) id, DEFINE_SWITCH_ENUM(CACHE); #undef X +extern struct swit *cache_policy; -#define X(sw, minchars, id) { sw, minchars, id }, -DEFINE_SWITCH_ARRAY(CACHE, caches); -#undef X +void cache_all_messages(CT *cts); +int find_cache(CT ct, int policy, int *writing, char *id, + char *buffer, int buflen); + +extern int rcachesw; +extern int wcachesw; + +extern char *cache_public; +extern char *cache_private;