X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch.h;h=c05e802d584e798d9a78c9802bb0b8b8f7e4acb9;hb=c3c52e464b8b0e024a01feacfeb34cc4ce1f3d62;hp=8bba442f62b3505a8c68d7b6a03a388daca44a7c;hpb=34c840a23e1db4c6cf4a836b441d027fc17e9706;p=notmuch diff --git a/lib/notmuch.h b/lib/notmuch.h index 8bba442f..c05e802d 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -280,6 +280,16 @@ notmuch_message_t * notmuch_database_find_message (notmuch_database_t *database, const char *message_id); +/* Return a list of all tags found in the database. + * + * This function creates a list of all tags found in the database. The + * resulting list contains all tags from all messages found in the database. + * + * On error this function returns NULL. + */ +notmuch_tags_t * +notmuch_database_get_all_tags (notmuch_database_t *db); + /* Create a new query for 'database'. * * Here, 'database' should be an open database, (see