]> rtime.felk.cvut.cz Git - notmuch.git/commit
Access messages through mail store interface
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 8 Apr 2010 14:32:48 +0000 (16:32 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 8 Apr 2010 14:32:48 +0000 (16:32 +0200)
commitc2d09c1a8429a301fdbfa3ac8861e010b6bd7056
treec70810013554dd4c5f4b9b5210af16c27fdf55c1
parent9e9dbacd6456b6871a35e3fdc99f9300c6e27623
Access messages through mail store interface

This patch modifies notmuch binary to access the messages through mail
store interface, so that non-file based mail stores can also be
implemented.

The API of notmuch library was changed. Now,
notmuch_message_get_filename() returns relative file name with respect
to the database path. As a result, notmuch show also outputs relative
paths so that MUAs need to be changed.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
12 files changed:
lib/database.cc
lib/index.cc
lib/mailstore-files.c
lib/message-file.c
lib/message.cc
lib/notmuch-private.h
lib/notmuch.h
lib/sha1.c
notmuch-client.h
notmuch-reply.c
notmuch-show.c
show-message.c