X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/25211cc6081e2075ecaf0565733075285a135411..c576ad2674c37a1c63f004c71049998f38854c64:/h/mhcachesbr.h diff --git a/h/mhcachesbr.h b/h/mhcachesbr.h index 8f980a60..6e6beacb 100644 --- a/h/mhcachesbr.h +++ b/h/mhcachesbr.h @@ -1,6 +1,4 @@ - -/* - * mhcachesbr.h -- definitions for manipulating MIME content cache +/* mhcachesbr.h -- definitions for manipulating MIME content cache */ /* @@ -16,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;