lib: Abstract the extraction of a relative path from set_filename
authorCarl Worth <cworth@cworth.org>
Sat, 19 Dec 2009 20:32:11 +0000 (12:32 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:32:05 +0000 (10:32 -0800)
commitba12bf1f2625a34f960502a06ba8907445ef5257
treec9a1bcafcf182044280916b01b0d7b67f3b931b0
parent3a9c3ec9e719f0e5adefe0ceafffeb34c7a3917e
lib: Abstract the extraction of a relative path from set_filename

We'll soon be having multiple entry points that accept a filename
path, so we want common code for getting a relative path from a
potentially absolute path.
lib/database.cc
lib/message.cc
lib/notmuch-private.h