aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/writer.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-04 06:35:51 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commit7219a81ad6cff840eb604983b3752d4f2097532a (patch)
tree5c071ae9575f05a75f17a2d8280e9e9aed6440ac /include/serd/writer.h
parent1c7a8efa90003d21e19b47bbad185390cea5963c (diff)
downloadserd-7219a81ad6cff840eb604983b3752d4f2097532a.tar.gz
serd-7219a81ad6cff840eb604983b3752d4f2097532a.tar.bz2
serd-7219a81ad6cff840eb604983b3752d4f2097532a.zip
Add support for writing terse output with minimal newlines
Diffstat (limited to 'include/serd/writer.h')
-rw-r--r--include/serd/writer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/serd/writer.h b/include/serd/writer.h
index db402fea..36880d2a 100644
--- a/include/serd/writer.h
+++ b/include/serd/writer.h
@@ -39,6 +39,7 @@ typedef enum {
SERD_WRITE_UNRESOLVED = 1U << 2U, ///< Do not make URIs relative
SERD_WRITE_BULK = 1U << 3U, ///< Write output in pages
SERD_WRITE_STRICT = 1U << 4U, ///< Abort with error on lossy output
+ SERD_WRITE_TERSE = 1U << 5U, ///< Write terser output without newlines
} SerdWriterFlag;
/// Bitwise OR of #SerdWriterFlag values