-ATTACHPTR **mutt_gen_attach_list (BODY *, int, ATTACHPTR **, short *, short *, int, int);
+int mutt_cmp_header (const HEADER*, const HEADER*);
+int mutt_cmp_addr (const ADDRESS * a, const ADDRESS * b);
+int mutt_cmp_list (const LIST * a, const LIST * b);
+int mutt_cmp_env (const ENVELOPE * e1, const ENVELOPE * e2);
+int mutt_cmp_param (const PARAMETER * p1, const PARAMETER * p2);
+int mutt_cmp_body (const BODY * b1, const BODY * b2);
+
+#if USE_HCACHE
+void *mutt_hcache_open (const char *path, const char *folder);
+void mutt_hcache_close (void *db);
+HEADER *mutt_hcache_restore (const unsigned char *d, HEADER ** oh);
+void *mutt_hcache_fetch (void *db, const char *filename,
+ size_t (*keylen) (const char *fn));
+int mutt_hcache_store (void *db, const char *filename, HEADER * h,
+ unsigned long uid_validity,
+ size_t (*keylen) (const char *fn));
+int mutt_hcache_delete (void *db, const char *filename,
+ size_t (*keylen) (const char *fn));
+#endif /* USE_HCACHE */
+
+ATTACHPTR **mutt_gen_attach_list (BODY *, int, ATTACHPTR **, short *, short *,
+ int, int);