[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 5d / d5dbe29c5b24d563590812288406b9c6d96993
1 Return-Path: <bremner@tesseract.cs.unb.ca>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 78A5E429E27\r
6         for <notmuch@notmuchmail.org>; Tue, 24 Mar 2015 06:21:28 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.438\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
12         tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id BbFZkJ3DUPa2 for <notmuch@notmuchmail.org>;\r
16         Tue, 24 Mar 2015 06:21:26 -0700 (PDT)\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
18         [87.98.215.224])\r
19         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 841CF429E35\r
22         for <notmuch@notmuchmail.org>; Tue, 24 Mar 2015 06:21:26 -0700 (PDT)\r
23 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
24         4.80) (envelope-from <bremner@tesseract.cs.unb.ca>)\r
25         id 1YaOl1-0000pd-CH; Tue, 24 Mar 2015 13:20:35 +0000\r
26 Received: (nullmailer pid 32638 invoked by uid 1000); Tue, 24 Mar 2015\r
27         13:19:47 -0000\r
28 From: David Bremner <david@tethera.net>\r
29 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
30 Subject: [Patch v5 6/8] lib: add private function to extract the database for\r
31         a message.\r
32 Date: Tue, 24 Mar 2015 09:19:44 -0400\r
33 Message-Id: <1427203186-32194-6-git-send-email-david@tethera.net>\r
34 X-Mailer: git-send-email 2.1.4\r
35 In-Reply-To: <1427203186-32194-1-git-send-email-david@tethera.net>\r
36 References: <1426352554-4383-10-git-send-email-david@tethera.net>\r
37         <1427203186-32194-1-git-send-email-david@tethera.net>\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Tue, 24 Mar 2015 13:21:28 -0000\r
51 \r
52 This is needed by logging in functions outside message.cc that take\r
53 only a notmuch_message_t object.\r
54 ---\r
55  lib/message.cc        | 6 ++++++\r
56  lib/notmuch-private.h | 2 ++\r
57  2 files changed, 8 insertions(+)\r
58 \r
59 diff --git a/lib/message.cc b/lib/message.cc\r
60 index 956a70a..b84e5e1 100644\r
61 --- a/lib/message.cc\r
62 +++ b/lib/message.cc\r
63 @@ -1626,3 +1626,9 @@ notmuch_message_destroy (notmuch_message_t *message)\r
64  {\r
65      talloc_free (message);\r
66  }\r
67 +\r
68 +notmuch_database_t *\r
69 +_notmuch_message_database (notmuch_message_t *message)\r
70 +{\r
71 +    return message->notmuch;\r
72 +}\r
73 diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h\r
74 index 7cb6fd4..dc58a2f 100644\r
75 --- a/lib/notmuch-private.h\r
76 +++ b/lib/notmuch-private.h\r
77 @@ -472,6 +472,8 @@ _notmuch_doc_id_set_remove (notmuch_doc_id_set_t *doc_ids,\r
78  void\r
79  _notmuch_message_add_reply (notmuch_message_t *message,\r
80                             notmuch_message_t *reply);\r
81 +notmuch_database_t *\r
82 +_notmuch_message_database (notmuch_message_t *message);\r
83  \r
84  /* sha1.c */\r
85  \r
86 -- \r
87 2.1.4\r
88 \r