notmuch/lib
Carl Worth 1d02dd64af lib: Add new, public notmuch_message_get_filenames
This augments the existing notmuch_message_get_filename by allowing
the caller access to all filenames in the case of multiple files for a
single message.

To support this, we split the iterator (notmuch_filenames_t) away from
the list storage (notmuch_filename_list_t) where previously these were
a single object (notmuch_filenames_t). Then, whenever the user asks
for a file or filename, the message object lazily creates a complete
notmuch_filename_list_t and then:

	For notmuch_message_get_filename, returns the first filename
	in the list.

	For notmuch_message_get_filenames, creates and returns a new
	iterator for the filename list.
2010-11-11 03:40:19 -08:00
..
database-private.h lib: Rework interface for maildir_flags synchronization 2010-11-11 03:40:19 -08:00
database.cc lib: Remove the notion of TAGS_INVALID 2010-11-11 03:40:19 -08:00
directory.cc lib: Add new, public notmuch_message_get_filenames 2010-11-11 03:40:19 -08:00
filenames.c lib: Add new, public notmuch_message_get_filenames 2010-11-11 03:40:19 -08:00
index.cc lib: Add some missing static qualifiers. 2010-11-01 21:58:43 -07:00
libsha1.c libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00
libsha1.h lib: Add GCC visibility(hidden) pragmas to private header files. 2010-11-01 22:35:48 -07:00
Makefile Makefiles: Use .DEFAULT to support arbitrary targets from sub directories. 2010-01-06 10:32:06 -08:00
Makefile.local lib: Add new implementation of notmuch_filenames_t 2010-11-11 03:40:19 -08:00
message-file.c Make Received: header special in notmuch_message_file_get_header 2010-04-26 14:44:06 -07:00
message.cc lib: Add new, public notmuch_message_get_filenames 2010-11-11 03:40:19 -08:00
messages.c lib: Add new implementation of notmuch_filenames_t 2010-11-11 03:40:19 -08:00
notmuch-private.h lib: Add new, public notmuch_message_get_filenames 2010-11-11 03:40:19 -08:00
notmuch.h lib: Add new, public notmuch_message_get_filenames 2010-11-11 03:40:19 -08:00
query.cc lib: Eliminate some redundant includes of xapian.h 2010-11-01 23:24:40 -07:00
sha1.c Typsos 2009-11-18 03:21:36 -08:00
tags.c lib: Rename iterator functions to prepare for reverse iteration. 2010-03-09 09:22:29 -08:00
thread.cc lib: Eliminate some redundant includes of xapian.h 2010-11-01 23:24:40 -07:00
xutil.c xutil: Implement xstrndup without relying on strndup. 2009-12-01 12:51:39 -08:00
xutil.h lib: Add GCC visibility(hidden) pragmas to private header files. 2010-11-01 22:35:48 -07:00