aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Makefile.local
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-11-10 23:26:31 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-11-11 03:40:19 -0800
commitd87db8843266caf6b11c1f2f1874328830b23878 (patch)
tree2c3fc3cdeb793a70ffe48ef88614861a3e076baa /lib/Makefile.local
parentd422dcf0a276f2806d5563fbdc48fa7d69e4c3eb (diff)
lib: Add new implementation of notmuch_filenames_t
The new implementation is simply a talloc-based list of strings. The former support (a list of database terms with a common prefix) is implemented by simply pre-iterating over the terms and populating the list. This should provide no performance disadvantage as callers of thigns like notmuch_directory_get_child_files are very likely to always iterate over all filenames anyway. This new implementation of notmuch_filenames_t is in preparation for adding API to query all of the filenames for a single message.
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 3d7de5ca..5ad0a4ca 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -47,6 +47,7 @@ extra_cflags += -I$(dir) -fPIC
libnotmuch_c_srcs = \
$(notmuch_compat_srcs) \
+ $(dir)/filenames.c \
$(dir)/libsha1.c \
$(dir)/message-file.c \
$(dir)/messages.c \