X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=6e83cc376c2588ea842967fd9bd5b730dc052bbf;hb=cd19671f51b8f87303de6ab536afd6aa36efec61;hp=c7fb0ef89312fa35ffda1cee7f22a9cd08da30c3;hpb=0ea5f3fc0e0336921ba670a28201b59d2c977cfb;p=notmuch diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index c7fb0ef8..6e83cc37 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -205,7 +205,8 @@ notmuch_thread_t * _notmuch_thread_create (void *ctx, notmuch_database_t *notmuch, const char *thread_id, - const char *query_string); + const char *query_string, + notmuch_sort_t sort); /* message.cc */ @@ -274,6 +275,16 @@ _notmuch_message_talloc_copy_data (notmuch_message_t *message); void _notmuch_message_clear_data (notmuch_message_t *message); +/* Set the author member of 'message' - this is the representation used + * when displaying the message */ +void +notmuch_message_set_author (notmuch_message_t *message, const char *author); + +/* Get the author member of 'message' */ +const char * +notmuch_message_get_author (notmuch_message_t *message); + + /* index.cc */ notmuch_status_t @@ -382,13 +393,13 @@ _notmuch_messages_create (notmuch_message_list_t *list); /* query.cc */ notmuch_bool_t -_notmuch_mset_messages_has_more (notmuch_messages_t *messages); +_notmuch_mset_messages_valid (notmuch_messages_t *messages); notmuch_message_t * _notmuch_mset_messages_get (notmuch_messages_t *messages); void -_notmuch_mset_messages_advance (notmuch_messages_t *messages); +_notmuch_mset_messages_move_to_next (notmuch_messages_t *messages); /* message.cc */