X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-private.h;fp=notmuch-private.h;h=53ea75fa4d1c7bb09f2f08af50afd821b3ab0c5d;hp=1302cd30b7eea0480bc2aae11fa9ff0a276b703d;hb=3b8e3ab666a54407f9596a53c66ba8ce623ac91d;hpb=9f673f3cf866d114edc77080cd9f9e266d403c14 diff --git a/notmuch-private.h b/notmuch-private.h index 1302cd30..53ea75fa 100644 --- a/notmuch-private.h +++ b/notmuch-private.h @@ -83,6 +83,7 @@ typedef enum { 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_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, @@ -100,12 +101,14 @@ typedef enum _notmuch_private_status { notmuch_message_t * _notmuch_message_create (const void *talloc_owner, notmuch_database_t *notmuch, - unsigned int doc_id); + unsigned int doc_id, + notmuch_private_status_t *status); notmuch_message_t * _notmuch_message_create_for_message_id (const void *talloc_owner, notmuch_database_t *notmuch, - const char *message_id); + const char *message_id, + notmuch_status_t *status); /* Lookup a prefix value by name. *