From d87db8843266caf6b11c1f2f1874328830b23878 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 10 Nov 2010 23:26:31 -0800 Subject: 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. --- lib/Makefile.local | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Makefile.local') 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 \ -- cgit v1.2.3