cli: search: Move more variables into search_context_t
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 5 Nov 2014 00:25:51 +0000 (01:25 +0100)
committerDavid Bremner <david@tethera.net>
Wed, 5 Nov 2014 22:11:09 +0000 (23:11 +0100)
commit33f9109fd3b72e9648505b3d259a97553c5bf4b2
treec9f6291e274b3ea337fe233e59cbb9e65c7cf3e2
parent15d39e424ee343fcd17558087dde27930d61201a
cli: search: Move more variables into search_context_t

In order to share some command line options between search and address
subcommands we need to add corresponding variables to the context
structure. While we are at it, we also add notmuch_database_t to unify
parameters of all do_search_* functions and to simplify subsequent
commits.

Otherwise, there are no functional changes.
notmuch-search.c