cli: slightly refactor "notmuch reply" address scanning functions
authorJani Nikula <jani@nikula.org>
Sat, 14 Jan 2012 14:46:15 +0000 (16:46 +0200)
committerDavid Bremner <bremner@debian.org>
Sat, 14 Jan 2012 15:10:17 +0000 (11:10 -0400)
commitfb1c016cb5ec5263b24c9210c26f8e6f6cfd0942
tree2281ce71ba3e6ae198ff3f547fa1fa8324fc25fc
parent647c2509897e8a7cf12dba1a6ee81f8bb6e53b4d
cli: slightly refactor "notmuch reply" address scanning functions

Slightly refactor "notmuch reply" recipient and user from address scanning
functions in preparation for reply-to-sender feature.

Add support for not adding recipients at all (just scan for user from
address), and returning the number of recipients added.

No externally visible functional changes.

Signed-off-by: Jani Nikula <jani@nikula.org>
notmuch-reply.c