aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-10 13:21:51 +0100
committerDavid Robillard <d@drobilla.net>2022-01-13 23:04:06 -0500
commit5142013daed72b5a01944fd9dff17594f23029b2 (patch)
treef863455bd0c647ec228a20bdc57f4671018db631 /include
parent20fc410ace9616df9b7d8444d747aaa700f4f6c8 (diff)
downloadserd-5142013daed72b5a01944fd9dff17594f23029b2.tar.gz
serd-5142013daed72b5a01944fd9dff17594f23029b2.tar.bz2
serd-5142013daed72b5a01944fd9dff17594f23029b2.zip
Add option for writing terse output without newlines
Diffstat (limited to 'include')
-rw-r--r--include/serd/serd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index 06e11966..45af4069 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -1592,7 +1592,8 @@ typedef struct SerdWriterImpl SerdWriter;
typedef enum {
SERD_WRITE_ASCII = 1u << 0u, ///< Escape all non-ASCII characters
SERD_WRITE_UNQUALIFIED = 1u << 1u, ///< Do not shorten URIs into CURIEs
- SERD_WRITE_UNRESOLVED = 1u << 2u ///< Do not make URIs relative
+ SERD_WRITE_UNRESOLVED = 1u << 2u, ///< Do not make URIs relative
+ SERD_WRITE_TERSE = 1u << 3u ///< Write terser output without newlines
} SerdWriterFlag;
/// Bitwise OR of SerdWriterFlag values