[RFC PATCH] cli: factor out config handling code to get/set lists.

David Bremner david at tethera.net
Sat Dec 10 12:30:33 PST 2011


On Sat, 10 Dec 2011 13:24:36 -0500, Austin Clements <amdragon at MIT.EDU> wrote:
> What about something like
> 
> const char **
> notmuch_config_get_user_other_email (notmuch_config_t *config,
>                                      size_t *length)
> {
>     return _config_get_list (config, "user", "other_email", 
>                              &config->user_other_email, length);
> }

Sounds good. 

d


More information about the notmuch mailing list