aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/notmuch-private.h
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-12-19 12:32:11 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-01-06 10:32:05 -0800
commitba12bf1f2625a34f960502a06ba8907445ef5257 (patch)
treec9a1bcafcf182044280916b01b0d7b67f3b931b0 /lib/notmuch-private.h
parent3a9c3ec9e719f0e5adefe0ceafffeb34c7a3917e (diff)
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.
Diffstat (limited to 'lib/notmuch-private.h')
-rw-r--r--lib/notmuch-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
index b9566340..50f93eec 100644
--- a/lib/notmuch-private.h
+++ b/lib/notmuch-private.h
@@ -151,6 +151,10 @@ typedef enum _notmuch_private_status {
const char *
_find_prefix (const char *name);
+const char *
+_notmuch_database_relative_path (notmuch_database_t *notmuch,
+ const char *path);
+
/* thread.cc */
notmuch_thread_t *