aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/notmuch-private.h
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-12-19 15:11:55 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-01-06 10:32:05 -0800
commit406ec4b15d65f1104c7ff3ee654a5e9cd5b39f29 (patch)
treec86c1e507a245e2469cd4be7ad416ad27219e672 /lib/notmuch-private.h
parente890b0cf4011fd9fd77ebd87343379e4a778888b (diff)
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.
Diffstat (limited to 'lib/notmuch-private.h')
-rw-r--r--lib/notmuch-private.h5
1 files changed, 5 insertions, 0 deletions
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 *