X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=50f93eec27472839caa45956f3df1def86767cbb;hb=851c97aed727d284872992dcf6b64bc2069c1d0e;hp=0c340a769fc005d9b98c1b46a36c77492dcc6c72;hpb=95f97540a01cd7b4a3da5e2f27837956182869b2;p=notmuch diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 0c340a76..50f93eec 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -117,9 +117,10 @@ typedef enum _notmuch_private_status { NOTMUCH_PRIVATE_STATUS_FILE_NOT_EMAIL = NOTMUCH_STATUS_FILE_NOT_EMAIL, NOTMUCH_PRIVATE_STATUS_NULL_POINTER = NOTMUCH_STATUS_NULL_POINTER, NOTMUCH_PRIVATE_STATUS_TAG_TOO_LONG = NOTMUCH_STATUS_TAG_TOO_LONG, + NOTMUCH_PRIVATE_STATUS_UNBALANCED_FREEZE_THAW = NOTMUCH_STATUS_UNBALANCED_FREEZE_THAW, /* Then add our own private values. */ - NOTMUCH_PRIVATE_STATUS_TERM_TOO_LONG, + NOTMUCH_PRIVATE_STATUS_TERM_TOO_LONG = NOTMUCH_STATUS_LAST_STATUS, NOTMUCH_PRIVATE_STATUS_NO_DOCUMENT_FOUND, NOTMUCH_PRIVATE_STATUS_LAST_STATUS @@ -150,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 * @@ -193,10 +198,6 @@ void _notmuch_message_set_filename (notmuch_message_t *message, const char *filename); -void -_notmuch_message_add_thread_id (notmuch_message_t *message, - const char *thread_id); - void _notmuch_message_ensure_thread_id (notmuch_message_t *message);