From 406ec4b15d65f1104c7ff3ee654a5e9cd5b39f29 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sat, 19 Dec 2009 15:11:55 -0800 Subject: database: Export _notmuch_database_find_parent_id for internal use. We'll soon have mail documents referring to their parent directory's directory documents, so we'll need access to _find_parent_id in files such as message.cc. --- lib/notmuch-private.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/notmuch-private.h') diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 50f93eec..56929ffa 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -155,6 +155,11 @@ const char * _notmuch_database_relative_path (notmuch_database_t *notmuch, const char *path); +notmuch_status_t +_notmuch_database_find_parent_id (notmuch_database_t *notmuch, + const char *path, + unsigned int *parent_id); + /* thread.cc */ notmuch_thread_t * -- cgit v1.2.3