From ab1aa43256fac3e017212abe6f9d845bf74c024c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 5 Jul 2018 21:01:12 +0200 Subject: Simplify writer style options and write UTF-8 by default --- include/serd/writer.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'include/serd') diff --git a/include/serd/writer.h b/include/serd/writer.h index 77ecac80..96059932 100644 --- a/include/serd/writer.h +++ b/include/serd/writer.h @@ -34,12 +34,11 @@ typedef struct SerdWriterImpl SerdWriter; does not support abbreviation and is always ASCII. */ typedef enum { - SERD_WRITE_ABBREVIATED = 1U << 0U, ///< Abbreviate triples when possible - SERD_WRITE_ASCII = 1U << 1U, ///< Escape all non-ASCII characters - SERD_WRITE_RESOLVED = 1U << 2U, ///< Resolve URIs against base URI - SERD_WRITE_CURIED = 1U << 3U, ///< Shorten URIs into CURIEs - SERD_WRITE_BULK = 1U << 4U, ///< Write output in pages - SERD_WRITE_STRICT = 1U << 5U, ///< Abort with error on lossy output + 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_BULK = 1U << 3U, ///< Write output in pages + SERD_WRITE_STRICT = 1U << 4U, ///< Abort with error on lossy output } SerdWriterFlag; /// Bitwise OR of #SerdWriterFlag values -- cgit v1.2.1