#include <h/mh.h>
#include <h/crawl_folders.h>
#include <h/utils.h>
-#include "../sbr/lock_file.h"
-#include "../sbr/m_maildir.h"
+#include "sbr/lock_file.h"
+#include "sbr/m_maildir.h"
#define NEW_SWITCHES \
X("mode", 1, MODESW) \
return total;
}
-/* Return TRUE if the sequence 'name' is in 'sequences'. */
-static boolean
+/* Return true if the sequence 'name' is in 'sequences'. */
+static bool
seq_in_list(char *name, char *sequences[])
{
int i;
for (i = 0; sequences[i] != NULL; i++) {
if (strcmp(name, sequences[i]) == 0) {
- return TRUE;
+ return true;
}
}
- return FALSE;
+ return false;
}
/* Return the string list of message numbers from the sequences file, or NULL
}
}
-static boolean
+static bool
crawl_callback(char *folder, void *baton)
{
check_folder(folder, strlen(folder), baton);
- return TRUE;
+ return true;
}
/* Scan folders, returning: