]> git.cworth.org Git - obsolete/notmuch-old/commit
database: Abstract _filename_to_direntry from _add_message
authorCarl Worth <cworth@cworth.org>
Mon, 21 Dec 2009 23:09:56 +0000 (15:09 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 21 Dec 2009 23:09:56 +0000 (15:09 -0800)
commit5d5e54a54b267c35d921e0a1852af234e1fc6a02
treefb2f27b91d86635d8454c0587744a9bcaf58a285
parent98eecc99475a033d55eb1834c9601912d319ccc8
database: Abstract _filename_to_direntry from _add_message

The code to map a filename to a direntry is something that we're going
to want in a future _remove_message function, so put it in a new
function _notmuch_database_filename_to_direntry .
lib/database.cc
lib/message.cc
lib/notmuch-private.h