X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a23477eb9bd7d1af5f66a171041bf72af932488e..e6c91771:/uip/mhcachesbr.c diff --git a/uip/mhcachesbr.c b/uip/mhcachesbr.c index fe4f4790..f343bf39 100644 --- a/uip/mhcachesbr.c +++ b/uip/mhcachesbr.c @@ -14,12 +14,19 @@ #include #include #include +#include "../sbr/lock_file.h" +#include "../sbr/m_mktemp.h" #ifdef HAVE_SYS_TIME_H # include #endif #include +#define X(sw, minchars, id) { sw, minchars, id }, +DEFINE_SWITCH_ARRAY(CACHE, caches); +#undef X +struct swit *cache_policy = caches; + extern int debugsw; /* cache policies */ @@ -40,12 +47,6 @@ int type_ok (CT, int); void content_error (char *, CT, char *, ...); void flush_errors (void); -/* - * prototypes - */ -void cache_all_messages (CT *); -int find_cache (CT, int, int *, char *, char *, int); - /* * static prototypes */