]> diplodocus.org Git - nmh/blob - sbr/maildir_read_and_sort.h
Added start_test/finish_test to a bunch of tests.
[nmh] / sbr / maildir_read_and_sort.h
1 /* maildir_read_and_sort.h -- returns a sorted list of msgs in a Maildir.
2 *
3 * This code is Copyright (c) 2020, by the authors of nmh. See the
4 * COPYRIGHT file in the root directory of the nmh distribution for
5 * complete copyright information.
6 */
7
8 struct Maildir_entry {
9 char *filename;
10 time_t mtime;
11 };
12
13 void maildir_read_and_sort (char *maildirpath,
14 struct Maildir_entry **maildir_out,
15 int *num_msgs_out);