diff options
author | craven@gmx.net <craven@gmx.net> | 2012-07-23 12:39:45 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-07-24 09:26:59 -0300 |
commit | 36522fca1cac6ca23c2c4c0280e3e20e96f7bfbb (patch) | |
tree | b1a4a5fd43c106d66e09b2571145147232cee9e6 /Makefile.local | |
parent | 41becc0c9dfabbd59a1c96bdedc99a785539a93b (diff) |
Add structured output formatter for JSON and plain text (but don't use them yet).
Using the new structured printer support in sprinter.h, implement
sprinter_json_create, which returns a new JSON structured output
formatter. The formatter prints output similar to the existing JSON, but
with differences in whitespace (mostly newlines, --output=summary prints
the entire message summary on one line, not split across multiple lines).
Also implement a "structured" formatter for plain text that prints
prefixed strings, to be used with notmuch-search.c plain text output.
Diffstat (limited to 'Makefile.local')
-rw-r--r-- | Makefile.local | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.local b/Makefile.local index a890df20..296995d3 100644 --- a/Makefile.local +++ b/Makefile.local @@ -290,6 +290,8 @@ notmuch_client_srcs = \ notmuch-show.c \ notmuch-tag.c \ notmuch-time.c \ + sprinter-json.c \ + sprinter-text.c \ query-string.c \ mime-node.c \ crypto.c \ |