diff options
author | Austin Clements <amdragon@MIT.EDU> | 2011-12-24 13:52:44 -0500 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-25 22:19:12 -0400 |
commit | bb189220a323e3140198161234ed54bf98175469 (patch) | |
tree | 5639019e0d3a2feeb576e0afa9267090116a7e35 /Makefile.local | |
parent | 36f7fe5a1c83f3f0dd8fc883db558ab058b974f3 (diff) |
Introduce a generic tree-like abstraction for MIME traversal.
This wraps all of the complex MIME part handling in a single, simple
function that gets part N from *any* MIME object, so traversing a MIME
part tree becomes a two-line for loop. Furthermore, the MIME node
structure provides easy access to envelopes for message parts as well
as cryptographic information.
This code is directly derived from the current show_message_body code
(much of it is identical), but the control relation is inverted:
instead of show_message_body controlling the traversal of the MIME
structure and invoking callbacks, the caller controls the traversal of
the MIME structure.
Diffstat (limited to 'Makefile.local')
-rw-r--r-- | Makefile.local | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.local b/Makefile.local index 97f397ff..516f26e8 100644 --- a/Makefile.local +++ b/Makefile.local @@ -315,6 +315,7 @@ notmuch_client_srcs = \ notmuch-time.c \ query-string.c \ show-message.c \ + mime-node.c \ json.c notmuch_client_modules = $(notmuch_client_srcs:.c=.o) |