diff options
| author | David Bremner <david@tethera.net> | 2018-09-03 18:02:25 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2018-09-06 08:07:13 -0300 |
| commit | dc3cc18bf0c649dfdb280a7afbb3b6039101f281 (patch) | |
| tree | da01c70956c774f4f617e4dddf2c33691b7fe1be /lib/notmuch-private.h | |
| parent | 040fd630bf74eb8be75633bf3cbdb0c38d0f16f2 (diff) | |
lib: add _notmuch_message_list_empty
There is no public notmuch_message_list_t public interface, so to this
is added to the private API. We use it immediately in thread.cc;
future commits will use it further.
Diffstat (limited to 'lib/notmuch-private.h')
| -rw-r--r-- | lib/notmuch-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 02cc0e09..590a3451 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -477,6 +477,9 @@ struct _notmuch_messages { notmuch_message_list_t * _notmuch_message_list_create (const void *ctx); +bool +_notmuch_message_list_empty (notmuch_message_list_t *list); + void _notmuch_message_list_add_message (notmuch_message_list_t *list, notmuch_message_t *message); |
