1 #ifndef _DATABASE_TEST_H
2 #define _DATABASE_TEST_H
3 /* Add a new stub message to the given notmuch database.
5 * At least the following return values are possible:
7 * NOTMUCH_STATUS_SUCCESS: Message successfully added to database.
9 * NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: Message has the same message
10 * ID as another message already in the database.
12 * NOTMUCH_STATUS_READ_ONLY_DATABASE: Database was opened in read-only
13 * mode so no message can be added.
17 notmuch_database_add_stub_message (notmuch_database_t *database,
18 const char *message_id,
19 const char **tag_list);