#include <h/mhparse.h>
#include <h/mhcachesbr.h>
#include <h/utils.h>
+#include "../sbr/lock_file.h"
#include "../sbr/m_mktemp.h"
#ifdef HAVE_SYS_TIME_H
#endif
#include <time.h>
+#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 */
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
*/