X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=2b4bf319cf8c3e683ca4c715f377c0a33c0a038d;hb=f379aa52845f5594aa6cc2e7cf131d5f57202bbf;hp=c398c80add1f840d492a254aed53238b7e97d5af;hpb=24a25ffba98c1c34d92cefb9e23dd44e3be76126;p=notmuch diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index c398c80a..2b4bf319 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -110,6 +110,7 @@ typedef enum _notmuch_private_status { /* First, copy all the public status values. */ NOTMUCH_PRIVATE_STATUS_SUCCESS = NOTMUCH_STATUS_SUCCESS, NOTMUCH_PRIVATE_STATUS_OUT_OF_MEMORY = NOTMUCH_STATUS_OUT_OF_MEMORY, + NOTMUCH_PRIVATE_STATUS_READONLY_DATABASE = NOTMUCH_STATUS_READONLY_DATABASE, NOTMUCH_PRIVATE_STATUS_XAPIAN_EXCEPTION = NOTMUCH_STATUS_XAPIAN_EXCEPTION, NOTMUCH_PRIVATE_STATUS_FILE_NOT_EMAIL = NOTMUCH_STATUS_FILE_NOT_EMAIL, NOTMUCH_PRIVATE_STATUS_NULL_POINTER = NOTMUCH_STATUS_NULL_POINTER, @@ -147,9 +148,6 @@ typedef enum _notmuch_private_status { const char * _find_prefix (const char *name); -char * -_parse_message_id (void *ctx, const char *message_id, const char **next); - /* thread.cc */ notmuch_thread_t * @@ -207,6 +205,9 @@ _notmuch_message_set_date (notmuch_message_t *message, void _notmuch_message_sync (notmuch_message_t *message); +void +_notmuch_message_close (notmuch_message_t *message); + /* index.cc */ notmuch_status_t @@ -234,7 +235,7 @@ notmuch_message_file_open (const char *filename); notmuch_message_file_t * _notmuch_message_file_open_ctx (void *ctx, const char *filename); -/* Close a notmuch message preivously opened with notmuch_message_open. */ +/* Close a notmuch message previously opened with notmuch_message_open. */ void notmuch_message_file_close (notmuch_message_file_t *message);