]> git.notmuchmail.org Git - notmuch/commit
lib: Rework interface for maildir_flags synchronization
authorCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 01:36:09 +0000 (17:36 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 11:40:19 +0000 (03:40 -0800)
commitbb74e9dff80e64734308d5997c756fd96d041235
tree1e2fdc7824e128b532bb505b9d3dccafcc730750
parent4cfb2a02778bac16e785bbea1fd6c665e34bd955
lib: Rework interface for maildir_flags synchronization

Instead of having an API for setting a library-wide flag for
synchronization (notmuch_database_set_maildir_sync) we instead
implement maildir synchronization with two new library functions:

notmuch_message_maildir_flags_to_tags
  and   notmuch_message_tags_to_maildir_flags

These functions are nicely documented here, (though the implementation
does not quite match the documentation yet---as plainly evidenced by
the current results of the test suite).
lib/database-private.h
lib/database.cc
lib/message.cc
lib/notmuch-private.h
lib/notmuch.h
notmuch-new.c
notmuch-restore.c
notmuch-tag.c