};
/* ASCII ordered table of Maildir flags and associated tags */
-struct maildir_flag_tag flag2tag[] = {
+static struct maildir_flag_tag flag2tag[] = {
{ 'D', "draft", false},
{ 'F', "flagged", false},
{ 'P', "passed", false},
return message;
}
+unsigned int
+_notmuch_message_get_doc_id (notmuch_message_t *message)
+{
+ return message->doc_id;
+}
+
const char *
notmuch_message_get_message_id (notmuch_message_t *message)
{
* This change will not be reflected in the database until the next
* call to _notmuch_message_sync.
*/
-notmuch_status_t
+static notmuch_status_t
_notmuch_message_rename (notmuch_message_t *message,
const char *old_filename,
const char *new_filename)
const char *filename;
char *filename_new;
char *to_set, *to_clear;
- notmuch_status_t status;
+ notmuch_status_t status = NOTMUCH_STATUS_SUCCESS;
_get_maildir_flag_actions (message, &to_set, &to_clear);