X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0bfb53a23531bea3aaeadcd1a6f6c372eef96612..94187a80bd60baab4b9c4b949ad820d730578123:/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;