1 Return-Path: <teythoon@jade-hamburg.de>
\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 AE7F1429E25
\r
6 for <notmuch@notmuchmail.org>; Sun, 9 Oct 2011 15:13:28 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5
\r
12 tests=[UNPARSEABLE_RELAY=0.001] 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 fZ5Ur73b72w9 for <notmuch@notmuchmail.org>;
\r
16 Sun, 9 Oct 2011 15:13:27 -0700 (PDT)
\r
17 Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68])
\r
18 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id AC628431FB6
\r
21 for <notmuch@notmuchmail.org>; Sun, 9 Oct 2011 15:13:27 -0700 (PDT)
\r
22 Received: from mail.jade-hamburg.de (unknown [85.183.11.228])
\r
23 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
24 (No client certificate requested)
\r
25 by mail.cryptobitch.de (Postfix) with ESMTPSA id 7A1A1509367
\r
26 for <notmuch@notmuchmail.org>; Mon, 10 Oct 2011 00:13:25 +0200 (CEST)
\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 401)
\r
28 id E1201DF2A2; Mon, 10 Oct 2011 00:13:24 +0200 (CEST)
\r
29 Received: from thinkbox.jade-hamburg.de (unknown
\r
30 [IPv6:fe80::216:d3ff:fe3e:5058%br0])
\r
31 (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
32 (No client certificate requested) (Authenticated sender: teythoon)
\r
33 by mail.jade-hamburg.de (Postfix) with ESMTPSA id D1222DF279;
\r
34 Mon, 10 Oct 2011 00:13:20 +0200 (CEST)
\r
35 Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.76)
\r
36 (envelope-from <teythoon@thinkbox.jade-hamburg.de>)
\r
37 id 1RD1cU-0000HG-Ss; Mon, 10 Oct 2011 00:13:18 +0200
\r
38 From: Justus Winter <4winter@informatik.uni-hamburg.de>
\r
39 To: notmuch@notmuchmail.org
\r
40 Subject: [PATCH 1/2] python: add classes to wrap all notmuch_*_t types
\r
41 Date: Mon, 10 Oct 2011 00:12:53 +0200
\r
43 <1318198374-926-1-git-send-email-4winter@informatik.uni-hamburg.de>
\r
44 X-Mailer: git-send-email 1.7.6.3
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Sun, 09 Oct 2011 22:13:28 -0000
\r
59 Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
\r
61 bindings/python/notmuch/globals.py | 38 +++++++++++++++++++++++++++++++++++-
\r
62 1 files changed, 37 insertions(+), 1 deletions(-)
\r
64 diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py
\r
65 index de1db16..36354fc 100644
\r
66 --- a/bindings/python/notmuch/globals.py
\r
67 +++ b/bindings/python/notmuch/globals.py
\r
68 @@ -17,7 +17,7 @@ along with notmuch. If not, see <http://www.gnu.org/licenses/>.
\r
69 Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
\r
72 -from ctypes import CDLL, c_char_p, c_int
\r
73 +from ctypes import CDLL, c_char_p, c_int, Structure, POINTER
\r
74 from ctypes.util import find_library
\r
76 #-----------------------------------------------------------------------------
\r
77 @@ -182,3 +182,39 @@ def _str(value):
\r
78 return value.encode('UTF-8')
\r
82 +class NotmuchDatabaseS(Structure):
\r
84 +NotmuchDatabaseP = POINTER(NotmuchDatabaseS)
\r
86 +class NotmuchQueryS(Structure):
\r
88 +NotmuchQueryP = POINTER(NotmuchQueryS)
\r
90 +class NotmuchThreadsS(Structure):
\r
92 +NotmuchThreadsP = POINTER(NotmuchThreadsS)
\r
94 +class NotmuchThreadS(Structure):
\r
96 +NotmuchThreadP = POINTER(NotmuchThreadS)
\r
98 +class NotmuchMessagesS(Structure):
\r
100 +NotmuchMessagesP = POINTER(NotmuchMessagesS)
\r
102 +class NotmuchMessageS(Structure):
\r
104 +NotmuchMessageP = POINTER(NotmuchMessageS)
\r
106 +class NotmuchTagsS(Structure):
\r
108 +NotmuchTagsP = POINTER(NotmuchTagsS)
\r
110 +class NotmuchDirectoryS(Structure):
\r
112 +NotmuchDirectoryP = POINTER(NotmuchDirectoryS)
\r
114 +class NotmuchFilenamesS(Structure):
\r
116 +NotmuchFilenamesP = POINTER(NotmuchFilenamesS)
\r