diff options
Diffstat (limited to 'lib/database.cc')
-rw-r--r-- | lib/database.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/database.cc b/lib/database.cc index 380bbe3..293d21a 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -688,6 +688,8 @@ notmuch_database_open (const char *path, notmuch = NULL; } + notmuch_database_set_maildir_sync (notmuch, FALSE); + DONE: if (notmuch_path) free (notmuch_path); @@ -717,6 +719,13 @@ notmuch_database_close (notmuch_database_t *notmuch) talloc_free (notmuch); } +void +notmuch_database_set_maildir_sync (notmuch_database_t *database, + notmuch_bool_t maildir_sync) +{ + database->maildir_sync = maildir_sync; +} + const char * notmuch_database_get_path (notmuch_database_t *notmuch) { |