X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=sprinter.h;h=f859672f8b3f23342c25b5d50f6e64437c03dac7;hp=f43a8443f2352b3583e2f976b501907164373724;hb=60ac94fe58635f9c40724afa0f35965fc9ff1afc;hpb=1358f93a9f9c827f43ad174dc7bbf27b90d2ef8a diff --git a/sprinter.h b/sprinter.h index f43a8443..f859672f 100644 --- a/sprinter.h +++ b/sprinter.h @@ -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);