From: Michal Sojka Date: Fri, 31 Aug 2012 20:19:41 +0000 (+0200) Subject: Re: [PATCH 05/11] lib: add ability to store recipients in message structure X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4872a99b9c6bd944b84bd4ffdb07a901727a700b;p=notmuch-archives.git Re: [PATCH 05/11] lib: add ability to store recipients in message structure --- diff --git a/c6/31fa9cb4d98ff39047d51dc5b61b370d9aa556 b/c6/31fa9cb4d98ff39047d51dc5b61b370d9aa556 new file mode 100644 index 000000000..00b2f66ee --- /dev/null +++ b/c6/31fa9cb4d98ff39047d51dc5b61b370d9aa556 @@ -0,0 +1,107 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id D6D33431FBD + for ; Fri, 31 Aug 2012 13:19:51 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Puztr2ZPlGMm for ; + Fri, 31 Aug 2012 13:19:51 -0700 (PDT) +Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) + by olra.theworths.org (Postfix) with ESMTP id 14A18431FBC + for ; Fri, 31 Aug 2012 13:19:51 -0700 (PDT) +Received: from localhost (unknown [192.168.200.4]) + by max.feld.cvut.cz (Postfix) with ESMTP id E831C19F337F; + Fri, 31 Aug 2012 22:19:45 +0200 (CEST) +X-Virus-Scanned: IMAP AMAVIS +Received: from max.feld.cvut.cz ([192.168.200.1]) + by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, + port 10044) + with ESMTP id IbyqWsDMTEeq; Fri, 31 Aug 2012 22:19:44 +0200 (CEST) +Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) + by max.feld.cvut.cz (Postfix) with ESMTP id 60BA219F3302; + Fri, 31 Aug 2012 22:19:44 +0200 (CEST) +Received: from steelpick.2x.cz (unknown [213.29.198.144]) + (Authenticated sender: sojkam1) + by imap.feld.cvut.cz (Postfix) with ESMTPSA id 312F9660904; + Fri, 31 Aug 2012 22:19:43 +0200 (CEST) +Received: from wsh by steelpick.2x.cz with local (Exim 4.80) + (envelope-from ) + id 1T7Xgr-0001iV-L3; Fri, 31 Aug 2012 22:19:41 +0200 +From: Michal Sojka +To: Jameson Graef Rollins , + Notmuch Mail +Subject: Re: [PATCH 05/11] lib: add ability to store recipients in message + structure +In-Reply-To: <1345427570-26518-6-git-send-email-jrollins@finestructure.net> +References: <1345427570-26518-1-git-send-email-jrollins@finestructure.net> + <1345427570-26518-2-git-send-email-jrollins@finestructure.net> + <1345427570-26518-3-git-send-email-jrollins@finestructure.net> + <1345427570-26518-4-git-send-email-jrollins@finestructure.net> + <1345427570-26518-5-git-send-email-jrollins@finestructure.net> + <1345427570-26518-6-git-send-email-jrollins@finestructure.net> +User-Agent: Notmuch/0.14+3~g608c52f (http://notmuchmail.org) Emacs/24.1.1 + (x86_64-pc-linux-gnu) +Date: Fri, 31 Aug 2012 22:19:41 +0200 +Message-ID: <87d326oluq.fsf@steelpick.2x.cz> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 31 Aug 2012 20:19:52 -0000 + +Hi Jamie, + +continuing in the review from yesterday... + +On Mon, Aug 20 2012, Jameson Graef Rollins wrote: + +[...] + +> diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h +> index bfb4111..27a41b6 100644 +> --- a/lib/notmuch-private.h +> +++ b/lib/notmuch-private.h +> @@ -325,6 +325,15 @@ notmuch_message_set_author (notmuch_message_t *message, const char *author); +> const char * +> notmuch_message_get_author (notmuch_message_t *message); +> +> +/* Set the recipients of 'message' - this is the representation used +> + * when displaying the message */ +> +void +> +notmuch_message_set_recipients (notmuch_message_t *message, const char *recipients); +> + +> +/* Get the authors of 'message' */ + +s/authors/recipients + +> +const char * +> +notmuch_message_get_recipients (notmuch_message_t *message); +> + +> +> /* index.cc */ +> +> -- +> 1.7.10.4 +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch