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

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

Date: Sat, 10 Dec 2011 16:30:33 -0400

To: Austin Clements

Cc: notmuch@notmuchmail.org

From: David Bremner


On Sat, 10 Dec 2011 13:24:36 -0500, Austin Clements <amdragon@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

Thread: