diff options
author | Jani Nikula <jani@nikula.org> | 2012-12-17 00:05:10 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-18 17:03:34 -0400 |
commit | 64122c31fa4a4d652fa61d639d250c99f534e17f (patch) | |
tree | 979eb32254639b47cad21daee5e89822d0cb766f /sprinter.h | |
parent | 1358f93a9f9c827f43ad174dc7bbf27b90d2ef8a (diff) |
sprinter: add text0 formatter for null character separated text
Same as the text formatter, but with each field separated by a null
character rather than a newline character.
Diffstat (limited to 'sprinter.h')
-rw-r--r-- | sprinter.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -67,6 +67,12 @@ typedef struct sprinter { struct sprinter * sprinter_text_create (const void *ctx, FILE *stream); +/* Create a new unstructured printer that emits the text format for + * "notmuch search", with each field separated by a null character + * instead of the newline character. */ +struct sprinter * +sprinter_text0_create (const void *ctx, FILE *stream); + /* Create a new structure printer that emits JSON. */ struct sprinter * sprinter_json_create (const void *ctx, FILE *stream); |