]> git.notmuchmail.org Git - notmuch/blobdiff - sprinter.h
sprinter: add text0 formatter for null character separated text
[notmuch] / sprinter.h
index f43a8443f2352b3583e2f976b501907164373724..f859672f8b3f23342c25b5d50f6e64437c03dac7 100644 (file)
@@ -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);