aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-10 13:21:51 +0100
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commitb58e832527b850eca5e2c5a6f2157d307b0f45b5 (patch)
tree6470697a934e5d47d75a19622527b7ea7eb331fd /serd
parente5c5190771faec5bf3a81941d174763c2fda2a98 (diff)
downloadserd-b58e832527b850eca5e2c5a6f2157d307b0f45b5.tar.gz
serd-b58e832527b850eca5e2c5a6f2157d307b0f45b5.tar.bz2
serd-b58e832527b850eca5e2c5a6f2157d307b0f45b5.zip
Add option for writing terse output without newlines
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 9b8ab66a..65c1c8b5 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -263,7 +263,8 @@ typedef struct {
typedef enum {
SERD_WRITE_ASCII = 1 << 0, ///< Escape all non-ASCII characters
SERD_WRITE_UNQUALIFIED = 1 << 1, ///< Do not shorten URIs into CURIEs
- SERD_WRITE_UNRESOLVED = 1 << 2 ///< Do not make URIs relative
+ SERD_WRITE_UNRESOLVED = 1 << 2, ///< Do not make URIs relative
+ SERD_WRITE_TERSE = 1 << 3 ///< Write terser output without newlines
} SerdWriterFlag;
/// Bitwise OR of SerdWriterFlag values