aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Makefile.local
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-14 23:05:17 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-14 23:05:17 -0800
commitd3349358c6a5048559bd2a4faebe476ebd222170 (patch)
tree9d6aef2218ab3fd889b1d427537fb481a49ed6a6 /lib/Makefile.local
parentc979fc5b05a541d8488b77cbbc590ed3955690df (diff)
lib: Move notmuch_messages_t code from query.cc to new messages.c
The new object is simply a linked-list of notmuch_message_t objects, (unlike the old object which contained a couple of Xapian iterators). This works now by the query code immediately iterator over all results and creating notmuch_message_t objects for them, (rather than waiting to create the objects until the notmuch_messages_get call as we did earlier). The point of this change is to allow other instances of lists of messages, (such as in notmuch_thread_t), that are not directly related to Xapian search results.
Diffstat (limited to 'lib/Makefile.local')
-rw-r--r--lib/Makefile.local1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local
index b8286c94..79f7b0b7 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -4,6 +4,7 @@ extra_cflags += -I$(dir)
libnotmuch_c_srcs = \
$(dir)/libsha1.c \
$(dir)/message-file.c \
+ $(dir)/messages.c \
$(dir)/sha1.c \
$(dir)/tags.c \
$(dir)/xutil.c