diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-03-26 21:12:03 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-03-26 21:12:03 +0200 |
commit | 5b69ce81ec29afeea0e67bd8b0f0b193a7b0c022 (patch) | |
tree | 8e4579dde855742117781426ea92ab08bf0b6432 /libproto/imap/tests/imapfolder.c | |
parent | 7a1b9263d79005cd66ed7ebdd8b8e2842e7cd6b3 (diff) | |
download | mailutils-5b69ce81ec29afeea0e67bd8b0f0b193a7b0c022.tar.gz mailutils-5b69ce81ec29afeea0e67bd8b0f0b193a7b0c022.tar.bz2 |
Implement selection of requested mailbox formats in scanning the local file system folders.
* include/mailutils/registrar.h (mu_record_match): New struct.
(mu_registrar_match_records): New proto.
* libmailutils/base/registrar.c (mu_registrar_match_records): New
function.
* libmailutils/mailbox/fsfolder.c (list_helper): Actually select
the matching record from scn->records (if supplied).
* libmailutils/tests/Makefile.am: Add new tests.
* libmailutils/tests/fsfolder.c: Minor changes.
* libmailutils/tests/testsuite.at: Add new tests.
* libmailutils/tests/fsfolder03.at: New file.
* libmailutils/tests/fsfolder04.at: New file.
Diffstat (limited to 'libproto/imap/tests/imapfolder.c')
0 files changed, 0 insertions, 0 deletions