]> git.cworth.org Git - notmuch/commit
lib: New function to collect tags from a list of messages.
authorJan Janak <jan@ryngle.com>
Wed, 25 Nov 2009 03:30:21 +0000 (04:30 +0100)
committerCarl Worth <cworth@cworth.org>
Thu, 26 Nov 2009 15:06:04 +0000 (07:06 -0800)
commit523a6f67ecc94efd37dcdf570d66edc62497a8fb
treeb09e4ca57107883ec61ec23f90789683e31aa182
parent16eab4c87dfb812b37cb25eb471c71b1c5a97493
lib: New function to collect tags from a list of messages.

This patch adds a new function that can be used to collect a list of
unique tags from a list of messages. 'notmuch search-tags' uses the
function to get a list of tags from messages matching a search-term,
but it has the potential to be used elsewhere so we put it in the lib.

Signed-off-by: Jan Janak <jan@ryngle.com>
lib/messages.c
lib/notmuch.h