DO_ARRAY_TYPE(BUFFY, buffy);
DO_ARRAY_FUNCS(BUFFY, buffy, buffy_delete);
+#include "buffy.li"
+
/* folders with incomming mail (via mailboxes command) */
-WHERE buffy_array Incoming;
-WHERE short BuffyTimeout INITVAL (3);
-extern time_t BuffyDoneTime; /* last time we knew for sure how much mail there was */
+extern buffy_array Incoming;
-/* looks up a path in Incoming list (returns index) */
int buffy_lookup (const char*);
-/* handles mailboxes commands */
-int buffy_parse_mailboxes (BUFFER*, BUFFER*, unsigned long, BUFFER*);
+void buffy_do_mailboxes(const char *s, int add);
+
/* from given path, gets next mailbox in Incoming with new mail */
void buffy_next (char*, size_t);
/* checks mailboxes for new mail (returns number) */